Version 11 (modified by 7 years ago) ( diff ) | ,
---|
!!! WORK IN PROGRESS !!!
Last Update 02.2017, Authors: Jens Henrik Göbbert, ...
OpenFOAM Settings for Software Stage 2016a on JURECA
- This includes additional information on how to build OpenFOAM for use with Score-P.
- follow https://trac.version.fz-juelich.de/vis/wiki/Software/OpenFOAM, but do NOT build OpenFOAM, yet.
- follow the additional instructions from this page
- follow the build instructions from https://trac.version.fz-juelich.de/vis/wiki/Software/OpenFOAM#a5.BuildTestOpenFOAM
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.5.39 # flex 2.6.0 causes errors 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-RTW64-IDX32 # 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.