Skip to content
Snippets Groups Projects
Commit 8a99c2db authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

FOAMMODULES 2

parent 59fd9b11
No related branches found
No related tags found
No related merge requests found
......@@ -5,15 +5,18 @@ MERIC_LIBS_COMMON="-L$HOME/OpenFOAM/meric/lib/ -lmericmpi "
MERIC_LIBS_TAURUS="-lhdeem -lfreeipmi -lcpufreq -lx86_adapt -L/sw/taurus/libraries/papi/5.4.1/lib/ -lpapi"
MERIC_LIBS_SALOMON="-L$HOME/readex/MERIC/x86adaptGCC/x86_adapt/build/ -lx86_adapt"
export READEX_INCLUDE="-I/scratch/p_readex/OPENFOAM/meric/include "
export READEX_DEFINE="-DUSE_SCOREP_MANUAL " #-DENDKILL"
#export READEX_LIBS=$MERIC_LIBS_COMMON$MERIC_LIBS_TAURUS
FM_DIR=~/OpenFOAM
#M_DIR=/scratch/p_readex/OPENFOAM/OpenFOAM-manual
# SELECT GCC #################################################################
# GCC compiler
cp ~/OpenFOAM/OpenFOAM-v1612+/etc/bashrc-GCC6 ~/OpenFOAM/OpenFOAM-v1612+/etc/bashrc
cp $FM_DIR/OpenFOAM-v1612+/etc/bashrc-GCC6 $FM_DIR/OpenFOAM-v1612+/etc/bashrc
# scorep --online-access --user --thread=none --mpp=mpi --nocompiler
cp ~/OpenFOAM/OpenFOAM-v1612+/wmake/rules/linux64Gcc/c++SCOREPmanual ~/OpenFOAM/OpenFOAM-v1612+/wmake/rules/linux64Gcc/c++
cp $FM_DIR/OpenFOAM-v1612+/wmake/rules/linux64Gcc/c++SCOREPmanual $FM_DIR/OpenFOAM-v1612+/wmake/rules/linux64Gcc/c++
# LOAD MODULES and SET ENV ####################################################
module purge
......@@ -29,7 +32,7 @@ module load zlib
module load flex
module load cmake
source ~/OpenFOAM/OpenFOAM-v1612+/etc/bashrc
source $FM_DIR/OpenFOAM-v1612+/etc/bashrc
export WM_NCOMPPROCS=24
export BOOST_ARCH_PATH=$BOOST_ROOT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment