fixed loading compiler on hornet

This commit is contained in:
Jose Gracia 2014-10-31 10:49:25 +00:00 committed by Christoph Niethammer
parent 18333020fe
commit 0055dbb3e6

2
sit
View file

@ -68,7 +68,7 @@ if [ "$COMPILER" == "system" ] ; then
COMPILER="" # prevent any compiler specs in the prefix
else
case $PLATFORM in
hermit|hermit1)
hermit|hermit1|hornet)
module swap $(module list -l 2>&1 | awk '/^PrgEnv-/{print $1}') PrgEnv-${COMPILER}
if [ ! -z "$COMPILER_VERSION" ] ; then
if [ "${COMPILER}" == "gnu" ] ; then