Fix issues with system platform target in absence of a system module
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
This commit is contained in:
parent
2dd3208723
commit
1474a6b7b1
1 changed files with 6 additions and 1 deletions
7
sit
7
sit
|
@ -143,7 +143,12 @@ case $PLATFORM in
|
||||||
esac
|
esac
|
||||||
echo "Loading modules: ${COMPILER_MODULE} ${MPI_MODULE}"
|
echo "Loading modules: ${COMPILER_MODULE} ${MPI_MODULE}"
|
||||||
|
|
||||||
module load ${COMPILER_MODULE} ${MPI_MODULE}
|
if [ ! -z "$COMPILER_MODULE" ] ; then
|
||||||
|
module load ${COMPILER_MODULE}
|
||||||
|
fi
|
||||||
|
if [ ! -z "$MPI_MODULE" ] ; then
|
||||||
|
module load ${MPI_MODULE}
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z "${COMPILER}" ] ; then
|
if [ ! -z "${COMPILER}" ] ; then
|
||||||
# reevaluate compiler version
|
# reevaluate compiler version
|
||||||
|
|
Loading…
Reference in a new issue