Update compiler selection for hazelhen.

This commit is contained in:
Christoph Niethammer 2015-11-12 13:57:43 +00:00
parent 44990e6e40
commit bea73457a3

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|hornet)
hazelhen)
module swap $(module list -l 2>&1 | awk '/^PrgEnv-/{print $1}') PrgEnv-${COMPILER}
if [ ! -z "$COMPILER_VERSION" ] ; then
if [ "${COMPILER}" == "gnu" ] ; then