fixed loading compiler on hornet
This commit is contained in:
parent
18333020fe
commit
0055dbb3e6
1 changed files with 1 additions and 1 deletions
2
sit
2
sit
|
@ -68,7 +68,7 @@ if [ "$COMPILER" == "system" ] ; then
|
||||||
COMPILER="" # prevent any compiler specs in the prefix
|
COMPILER="" # prevent any compiler specs in the prefix
|
||||||
else
|
else
|
||||||
case $PLATFORM in
|
case $PLATFORM in
|
||||||
hermit|hermit1)
|
hermit|hermit1|hornet)
|
||||||
module swap $(module list -l 2>&1 | awk '/^PrgEnv-/{print $1}') PrgEnv-${COMPILER}
|
module swap $(module list -l 2>&1 | awk '/^PrgEnv-/{print $1}') PrgEnv-${COMPILER}
|
||||||
if [ ! -z "$COMPILER_VERSION" ] ; then
|
if [ ! -z "$COMPILER_VERSION" ] ; then
|
||||||
if [ "${COMPILER}" == "gnu" ] ; then
|
if [ "${COMPILER}" == "gnu" ] ; then
|
||||||
|
|
Loading…
Reference in a new issue