Changes between Initial Version and Version 1 of Software/OpenFOAM/config_ScoreP/config_Intel


Ignore:
Timestamp:
02/17/17 13:22:26 (7 years ago)
Author:
Jens Henrik Goebbert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/OpenFOAM/config_ScoreP/config_Intel

    v1 v1  
     1'''!!! WORK IN PROGRESS !!!'''
     2
     3== OpenFOAM Settings for use with Score-P and Intel compiler
     4
     5* This includes additional information on how to build OpenFOAM for use with Score-P.
     6* Please check [https://trac.version.fz-juelich.de/vis/wiki/Software/OpenFOAM] first.
     7
     8=== Set Environment ===
     9
     10The environment must be set up according to where the source code directories are located.
     11{{{ #!sh
     12INST_DIR=/homeb/zam/${USER}/my_OpenFOAM # must NOT (!!) end with a '/', or build will fail with "touch [...] permission denied"
     13cd $INST_DIR
     14
     15# load modules (Intel)
     16module --force purge
     17module use /usr/local/software/jureca/OtherStages
     18module load Stages/2016a
     19module load Intel/2016.2.181-GCC-4.9.3-2.25
     20module load IntelMPI/5.1.3.181
     21module load flex/.2.5.39 # flex 2.6.0 causes errors
     22module load Boost/1.60.0-Python-2.7.11
     23module load MPFR/3.1.3
     24module load GMP/6.1.0 
     25module load CGAL/4.7-Python-2.7.11
     26module load METIS/5.1.0-RTW64-IDX32
     27
     28# configure Score-P
     29module load Score-P/3.0-p1
     30export SCOREP_WRAPPER_INSTRUMENTER_FLAGS="--nomemory --verbose"
     31#export SCOREP_WRAPPER_COMPILER_FLAGS=
     32
     33# configure environment
     34export FOAM_INST_DIR=$INST_DIR
     35export WM_COMPILER=Icc
     36export WM_MPLIB=EASYBUILDMPI
     37export MPICC=scorep-mpicc
     38export MPICXX=scorep-mpiicpc
     39export MPICC_ALT=mpicc
     40export MPICXX_ALT=mpiicpc
     41export CC=scorep-icc
     42export CXX=scorep-icpc
     43export CC_ALT=icc
     44export CXX_ALT=icpc
     45export CFLAGS="-no-prec-div -O2 -fp-model precise -diag-disable 654,1125"
     46export CXXFLAGS="-O2 -fp-model precise -diag-disable 654,1125 -DMPICH_SKIP_MPICXX"
     47
     48export WM_NCOMPPROCS=8  # parallel build
     49export WM_LABEL_SIZE=32 # 32bit for labels/indices - relevant for METIS (if 64 needed patch METIS first)
     50
     51# load environment
     52VERSION=3.0.1
     53source OpenFOAM-${VERSION}/etc/bashrc
     54foam
     55foamSystemCheck
     56}}}