Added environment variable for compileer
This commit is contained in:
parent
3b6c7d671f
commit
2ef8665efc
1 changed files with 6 additions and 2 deletions
|
@ -36,7 +36,11 @@ if [ -z ${GIT_REPO} ]; then
|
|||
fi
|
||||
echo "Getting source for repository $GIT_REPO"
|
||||
|
||||
# you *may* also specify a compiler
|
||||
if [ -z ${COMPILER} ]; then
|
||||
COMPILER=gnu-4.5
|
||||
fi
|
||||
|
||||
if [ ${TARGET} = "hermit_cray" ]; then
|
||||
COMPILER=cray
|
||||
TARGET=hermit
|
||||
|
@ -59,7 +63,7 @@ fi
|
|||
|
||||
# load modules
|
||||
if [ ${TARGET} = "laki" ]; then
|
||||
module load compiler/gnu/4.5
|
||||
module load compiler/$(echo ${COMPILER} | sed "s,-,/,")
|
||||
module use /opt/amtopt/autotools/modulefiles
|
||||
module load local
|
||||
module load system/perfctr system/papi/4.1.2.1a
|
||||
|
|
Loading…
Reference in a new issue