Environment variables
From OpenFOAMWiki
1 List of OpenFOAM environment variables
ENVIRONMENT VARIABLE = Typical value
1.1 WM options
WM_THIRD_PARTY_DIR=$HOME/OpenFOAM/ThirdParty-1.6.x WM_PROJECT_INST_DIR=$HOME/OpenFOAM WM_PROJECT_DIR=$HOME/OpenFOAM/OpenFOAM-1.6.x WM_DIR=$HOME/OpenFOAM/OpenFOAM-1.6.x/wmake WM_PROJECT_USER_DIR=$HOME/OpenFOAM/$USER-1.6.x WM_PRECISION_OPTION=DP WM_ARCH_OPTION=64 WM_LINK_LANGUAGE=c++ WM_ARCH=linux64 WM_CXXFLAGS=-m64 -fPIC WM_CFLAGS=-m64 -fPIC WM_PROJECT_VERSION=1.6.x WM_COMPILER_LIB_ARCH=64 WM_CXX=g++ WM_COMPILER_ARCH= WM_PROJECT=OpenFOAM WM_LDFLAGS=-m64 WM_COMPILER=Gcc WM_MPLIB=OPENMPI WM_CC=gcc WM_COMPILE_OPTION=Opt WM_OPTIONS=linux64GccDPOpt WM_PRECISION_OPTION=DP WM_ARCH_OPTION=64
1.2 FOAM options
FOAM_SOLVERS=$HOME/OpenFOAM/OpenFOAM-1.6.x/applications/solvers FOAM_APPBIN=$HOME/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt FOAM_TUTORIALS=$HOME/OpenFOAM/OpenFOAM-1.6.x/tutorials FOAM_JOB_DIR=$HOME/OpenFOAM/jobControl FOAM_LIB=$HOME/OpenFOAM/OpenFOAM-1.6.x/lib FOAM_SITE_APPBIN=$HOME/OpenFOAM/site/1.6.x/bin/linux64GccDPOpt FOAM_MPI_LIBBIN=$HOME/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt/openmpi-1.3.3 FOAM_APP=$HOME/OpenFOAM/OpenFOAM-1.6.x/applications FOAM_SITE_LIBBIN=$HOME/OpenFOAM/site/1.6.x/lib/linux64GccDPOpt FOAM_SRC=$HOME/OpenFOAM/OpenFOAM-1.6.x/src FOAM_SIGFPE= FOAM_UTILITIES=$HOME/OpenFOAM/OpenFOAM-1.6.x/applications/utilities FOAM_USER_LIBBIN=WM_PROJECT_USER_DIR/lib/linux64GccDPOpt FOAM_INST_DIR=$HOME/OpenFOAM FOAM_LIBBIN=$HOME/OpenFOAM/OpenFOAM-1.6.x/lib/linux64GccDPOpt FOAM_RUN=WM_PROJECT_USER_DIR/run FOAM_USER_APPBIN=WM_PROJECT_USER_DIR/applications/bin/linux64GccDPOpt
1.3 Other options
MPI_ARCH_PATH=$HOME/OpenFOAM/ThirdParty-1.6.x/openmpi-1.3.3/platforms/linux64GccDPOpt ParaView_INST_DIR=$HOME/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1 OPAL_PREFIX=$HOME/OpenFOAM/ThirdParty-1.6.x/openmpi-1.3.3/platforms/linux64GccDPOpt ParaView_DIR=$HOME/OpenFOAM/ThirdParty-1.6.x/paraview-3.6.1/platforms/linux64Gcc PARAVIEW_DIR=/opt/packages/Paraview3 ParaView_VERSION=3.6.1 MPI_HOME=$HOME/OpenFOAM/ThirdParty-1.6.x/openmpi-1.3.3