Version 1 (modified by 7 years ago) ( diff ) | ,
---|
Set Environment
The environment must be set up according to where the source code directories are located.
INST_DIR=/homeb/zam/${USER}/my_OpenFOAM # must not end with a '/' cd $INST_DIR # load modules module --force purge module load Stages/2016a module load Intel/2016.2.181-GCC-4.9.3-2.25 module load IntelMPI/5.1.3.181 module load flex/2.6.0 module load Boost/1.60.0-Python-2.7.11 module load MPFR/3.1.3 module load GMP/6.1.0 module load CGAL/4.7-Python-2.7.11 module load METIS/5.1.0 # configure environment export FOAM_INST_DIR=$INST_DIR export WM_COMPILER=Icc export WM_MPLIB=EASYBUILDMPI export MPICC=mpicc export MPICXX=mpiicpc export CC=icc export CXX=icpc export CFLAGS="-no-prec-div -O3 -xHost -fp-model precise -diag-disable 654 -diag-disable 1125" export CXXFLAGS="-O3 -xHost -fp-model precise -diag-disable 654 -diag-disable 1125 -DMPICH_SKIP_MPICXX" export WM_NCOMPPROCS=8 # parallel build export WM_LABEL_SIZE=32 # 32bit for labels/indices - relevant for METIS (if 64 needed patch METIS first) # load environment VERSION=3.0.1 source OpenFOAM-${VERSION}/etc/bashrc foam foamSystemCheck
Note:
See TracWiki
for help on using the wiki.