From 4575bf138f4ee71cb5fc4d65239464ec13959d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3=20Prims?= <oriol.tinto@lmu.de> Date: Mon, 27 Mar 2023 13:41:08 +0200 Subject: [PATCH] Fix load icon. --- templates/common/build_icon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/common/build_icon.sh b/templates/common/build_icon.sh index 68c7d1f..977619d 100644 --- a/templates/common/build_icon.sh +++ b/templates/common/build_icon.sh @@ -34,7 +34,7 @@ if [ ! -z "$SPACK_BUILD_ICON" ]; then fi spack install $SPACK_BUILD_ICON - spack load $SPACK_BUILD_ICON + spack load "icon-nwp@${ICON_VERSION}%${COMPILER}" else echo "\%icon.spack_cmd\% is not defined. If you want to compile icon with spack, please provide a spack compile instruction string in your build.yml" fi -- GitLab