diff --git a/templates/real-from-d2-ana/prepare_date_remote.sh b/templates/real-from-d2-ana/prepare_date_remote.sh index 9514c4b210f925ef2ac92ca5a0f4163909118a4e..53b3b9c2296c3c1a57b895f12e5b78fe137f8351 100644 --- a/templates/real-from-d2-ana/prepare_date_remote.sh +++ b/templates/real-from-d2-ana/prepare_date_remote.sh @@ -12,6 +12,7 @@ if [ "${IC_DATA_IS_LOCAL}" != "True" ]; then HPCUSER=%HPCUSER% HPCHOST=%HPCHOST% + chmod +x ${WORKDIR}/proj/platforms/common/spack_utils.sh . ${WORKDIR}/proj/platforms/common/spack_utils.sh load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.externals%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" "%spack.user_config_path%" "%spack.upstreams%" diff --git a/templates/real-from-d2-ana/prepare_lbc_remote.sh b/templates/real-from-d2-ana/prepare_lbc_remote.sh index e052dd96de7ed3ab695fa2d7ec6a5c0f813dc70e..f69eb769e26960ade57d34baf1d5b3965cc265b2 100644 --- a/templates/real-from-d2-ana/prepare_lbc_remote.sh +++ b/templates/real-from-d2-ana/prepare_lbc_remote.sh @@ -25,7 +25,8 @@ if [ "${LBC_DATA_IS_LOCAL}" != "True" ]; then load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.externals%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" "%spack.user_config_path%" "%spack.upstreams%" # Load icon module - spack load --first dwd-icon-tools + spack load --first %ECCODES.BUILD_CMD% + spack load --first %ECCODES.LOAD_CMD% # Set environment variable for eccodes-dwd definitions: source ${WORKDIR}/eccodes_defs.env