Installation directory setting #54
-
In the User guide its says, with reference to the installation folder:
It isn't clear how to define the installation folder. At the moment it gets put in How do I tell Allwmake where to put rheoTool? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
One thing is the directory to where you clone/download the repo, which will contain the code source, user-guide and tutorials and from which you run the installer. Your transcription of the user-guide refers to that. Another thing is the directory to which the binaries (apps and libs) are written, which are $FOAM_USER_APPBIN and $FOAM_USER_LIBBIN. This is a logic choice, since they both are sourced by default by openfoam. Can you change them? Yes, in all Make/files included in the repo, but you will then have to tell the compiler and loader where to find them, unless they are already included by default. |
Beta Was this translation helpful? Give feedback.
-
Yes, it is more or less like that. More info here: https://cfd.direct/openfoam/user-guide/v6-compiling-applications/. Note: you just need to proceed as with any other c++ program, but instead of defining things in a makefile or in the terminal, you define them in Make/options and Make/files of each lib/app. Thus, you just need to understand how things are defined there. |
Beta Was this translation helpful? Give feedback.
Yes, it is more or less like that. More info here: https://cfd.direct/openfoam/user-guide/v6-compiling-applications/.
Note: you just need to proceed as with any other c++ program, but instead of defining things in a makefile or in the terminal, you define them in Make/options and Make/files of each lib/app. Thus, you just need to understand how things are defined there.