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

module-load scripts edited to be possible to source them from different location

parent d11ec0ba
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ MERIC_LIBS_SALOMON="-L$HOME/readex/MERIC/x86adaptGCC/x86_adapt/build/ -lx86_adap
export READEX_LIBS=$MERIC_LIBS_COMMON$MERIC_LIBS_SALOMON
# SELECT GCC ###################################################################
cp OpenFOAM-v1612+/etc/bashrc-GCC OpenFOAM-v1612+/etc/bashrc
cp ~/OpenFOAM/OpenFOAM-v1612+/etc/bashrc-GCC ~/OpenFOAM/OpenFOAM-v1612+/etc/bashrc
# LOAD MODULES and SET ENV #####################################################
version=3
if [ $version -eq 1 ] #has problem with depricated compiler parameter --add-needed
......
......@@ -8,7 +8,7 @@ MERIC_LIBS_SALOMON="-L$HOME/readex/MERIC/x86adaptGCC/x86_adapt/build/ -lx86_adap
export READEX_LIBS=$MERIC_LIBS_COMMON$MERIC_LIBS_TAURUS
# SELECT INTEL ################################################################
cp OpenFOAM-v1612+/etc/bashrc-Intel OpenFOAM-v1612+/etc/bashrc
cp ~/OpenFOAM/OpenFOAM-v1612+/etc/bashrc-Intel ~/OpenFOAM/OpenFOAM-v1612+/etc/bashrc
# LOAD MODULES and SET ENV ####################################################
# OpenFoam modules
#module load intel/2016.2.181
......
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