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
Loading
Pipeline #19025 passed
...@@ -5,7 +5,7 @@ ICON_VERSION=%ICON.VERSION% ...@@ -5,7 +5,7 @@ ICON_VERSION=%ICON.VERSION%
COMPILER=%SPACK.COMPILER% COMPILER=%SPACK.COMPILER%
MODULES="%MODULES%" 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 the workdir directory does not exist create it
if [ ! -d ${WORKDIR} ]; then if [ ! -d ${WORKDIR} ]; then
......
...@@ -9,7 +9,7 @@ SPACK_COMPILER=%SPACK.COMPILER% ...@@ -9,7 +9,7 @@ SPACK_COMPILER=%SPACK.COMPILER%
PYTHON_VERSION=%PYTHON_ENVIRONMENT.PYTHON_VERSION% PYTHON_VERSION=%PYTHON_ENVIRONMENT.PYTHON_VERSION%
MODULES="%MODULES%" 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 # Go to the working directory
cd ${WORKDIR} 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