Skip to content
Snippets Groups Projects
Commit 8c74fdb9 authored by Fabian.Jakub's avatar Fabian.Jakub
Browse files

module entry: dont support yaml list syntax but rather just a string

parent 8550cb0f
No related branches found
No related tags found
No related merge requests found
Pipeline #19025 passed
......@@ -5,7 +5,7 @@ ICON_VERSION=%ICON.VERSION%
COMPILER=%SPACK.COMPILER%
MODULES="%MODULES%"
if [ ! -z "${MODULES}" ]; then module load $(python -c "print(' '.join(${MODULES}))"); fi
if [ ! -z "${MODULES}" ]; then module load ${MODULES}; fi
# If the workdir directory does not exist create it
if [ ! -d ${WORKDIR} ]; then
......
......@@ -9,7 +9,7 @@ SPACK_COMPILER=%SPACK.COMPILER%
PYTHON_VERSION=%PYTHON_ENVIRONMENT.PYTHON_VERSION%
MODULES="%MODULES%"
if [ ! -z "${MODULES}" ]; then module load $(python -c "print(' '.join(${MODULES}))"); fi
if [ ! -z "${MODULES}" ]; then module load ${MODULES}; fi
# Go to the working directory
cd ${WORKDIR}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment