- the result of lsof, which is used in the etc/cshrc to locate the installation, may contain trailing information about host and mount point. There is also a moderate concern with people sourcing the file indirectly with their own version in the same directory. For example, a 'etc/cshrc-site' that actually sources 'etc/cshrc'. This leads to multiple matches in the lsof output, so we only take the first one, stop there and hope they didn't do something even trickier. |
||
---|---|---|
.. | ||
caseDicts | ||
codeTemplates | ||
config.csh | ||
config.sh | ||
templates | ||
thermoData | ||
bashrc | ||
cellModels | ||
controlDict | ||
cshrc | ||
mergeHistory | ||
README.md |
OpenFOAM Configuration
The main OpenFOAM settings are located in the parent etc/
directory.
Both POSIX (bash, dash,...) and csh shells are supported.
To configure OpenFOAM, source either the etc/bashrc
or the
etc/cshrc
file, as appropriate for your shell.
These source the following files in the config.sh/
or
config.csh/
directories:
setup
: finalize setup of OpenFOAM environment (called by bashrc,cshrc)settings
: core settingsaliases
: aliases for interactive shellsunset
: sourced to clear as many OpenFOAM environment settings as possiblempi
: MPI communications library settingsensight
: application settings for EnSightparaview
: application settings for ParaViewscotch
: application settings for compiling against scotchmetis
: application settings for compiling against metis
The config.*/example
directories contain additional example configuration
files for the corresponding shell:
compiler
: an example of fine tuning ThirdParty compiler settingsopenmpi
: an example of fine tuning openmpi settings for OpenFOAMparaview
: an example of chaining to the standard config/paraview with a different ParaView_VERSIONprefs
: an example of supplying alternative site-defined settings