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

try to encapsulate spack.compiler string... problem is that it does get...

try to encapsulate spack.compiler string... problem is that it does get substituted in the icon.spack_cmd
parent 9e2f78bc
No related branches found
No related tags found
1 merge request!4Switching to the advanced configuration method and fixing spack build.
......@@ -5,7 +5,7 @@ spack:
init: "" # command to load spack environment, e.g. module load spack, use spack/setup-env.sh if empty
url: https://github.com/spack/spack.git # url to download spack if necessary
branch: develop # if downloaded, branch name to use
compiler: gcc@12.2.0 # desired compiler for spack
compiler: "gcc@12.2.0" # desired compiler for spack
root: "%HPCROOTDIR%/spack" # path to a spack install, will be downloaded to if not present
user_cache_path: "%HPCROOTDIR%/spack_user_cache_path" # spack puts data here when bootstrapping, leave empty to use home folder
disable_local_config: true # if false, spack install into home folder
......
......@@ -26,7 +26,7 @@ if [ ! -z "$SPACK_BUILD_ICON" ]; then
spack install $SPACK_BUILD_ICON
spack load $SPACK_BUILD_ICON
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 proj.yaml"
echo "icon.spack_cmd is not defined. If you want to compile icon with spack, please provide a spack compile instruction string in your proj.yaml"
fi
# Need to get ECCODES DWD definitions:
......
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