Fix module load issue due to passed empty string

This commit is contained in:
Christoph Niethammer 2022-11-11 08:36:37 +00:00
parent 6335b47a65
commit 026e9ba30b

2
sit
View file

@ -141,7 +141,7 @@ case $PLATFORM in
esac
echo "Loading modules: ${COMPILER_MODULE} ${MPI_MODULE}"
module load "${COMPILER_MODULE}" "${MPI_MODULE}"
module load ${COMPILER_MODULE} ${MPI_MODULE}
if [ ! -z "${COMPILER}" ] ; then
# reevaluate compiler version