From 59edd3bb8649e154efd72bba7e682dd5215f423e Mon Sep 17 00:00:00 2001 From: Nicolas Richart <nicolas.richart@epfl.ch> Date: Tue, 23 Jan 2024 00:01:15 +0100 Subject: [PATCH] Trying to get the when env synthax correct --- config.json | 2 +- packages.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index fe2b1c2..3ceb5e4 100644 --- a/config.json +++ b/config.json @@ -6,7 +6,7 @@ "url": "https://gitlab.epfl.ch/SCITAS/software-stack/spack-repo-externals.git", "branch": "releases/2024.0.0" }, - "sctias-packages": { + "scitas-packages": { "url": "https://gitlab.epfl.ch/SCITAS/software-stack/scitas-spack-packages.git", "branch": "releases/2024.0.0" } diff --git a/packages.yaml b/packages.yaml index 807bde1..15e62d3 100644 --- a/packages.yaml +++ b/packages.yaml @@ -33,9 +33,9 @@ packages: require: - spec: "fabrics=ofi,ucx,verbs schedulers=slurm ~rsh" - spec: "+gpfs" - when: 'env.get("environment", "") == "helvetios"' + when: "env['environment'] == 'helvetios'" - spec: "+cuda cuda_arch=70" - when: 'env.get("environment", "") == "izar"' + when: "env['environment'] == 'izar'" libfabric: require: -- GitLab