Skip to content
Snippets Groups Projects
Commit ab1138c7 authored by Oriol Tintó Prims's avatar Oriol Tintó Prims
Browse files

Add --first to all load icon.

parent f71b4c2f
No related branches found
No related tags found
1 merge request!4Switching to the advanced configuration method and fixing spack build.
......@@ -16,7 +16,7 @@ cd ${RUNDIR}
load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" "%spack.user_config_path%"
# Load icon module
spack load icon-nwp@%ICON_VERSION%
spack load --first icon-nwp@%ICON_VERSION%
# Set environment variable for eccodes-dwd definitions:
source ${WORKDIR}/eccodes_defs.env
......
......@@ -12,7 +12,7 @@ EXTERNAL_PARAMETERS_FILE=%simulation.external_parameters_filename%
load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" "%spack.user_config_path%"
# Load icon module needed to retrieve some data
spack load icon-nwp@%ICON_VERSION%
spack load --first icon-nwp@%ICON_VERSION%
# Create a folder for the common inidata and go there
COMMON_INIDATA_FOLDER=${WORKDIR}/inidata
......
......@@ -10,7 +10,7 @@ RADIATION_GRID_FILE=%simulation.radiation_grid_filename%
load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" "%spack.user_config_path%"
# Load icon module needed to retrieve some data
spack load icon-nwp@%ICON_VERSION%
spack load --first icon-nwp@%ICON_VERSION%
# Create a folder for the common inidata and go there
COMMON_INIDATA_FOLDER=${WORKDIR}/inidata
......
......@@ -15,7 +15,7 @@ cd ${RUNDIR}
load_spack "%spack.init%" "%spack.root%" "%spack.url%" "%spack.branch%" "%spack.compiler%" "%spack.disable_local_config%" "%spack.user_cache_path%" "%spack.user_config_path%"
# Load icon module
spack load icon-nwp@%ICON_VERSION%
spack load --first icon-nwp@%ICON_VERSION%
# Set environment variable for eccodes-dwd definitions:
source ${WORKDIR}/eccodes_defs.env
......
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