From 7b54baa740f3fd7033eb5670a0fa38445c933ccd Mon Sep 17 00:00:00 2001 From: bcumming Date: Wed, 27 Aug 2025 16:13:12 +0200 Subject: [PATCH] add mpi spec to the list of specs in relevant spack environments --- stackinator/recipe.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stackinator/recipe.py b/stackinator/recipe.py index 4b974a39..2c65aebc 100644 --- a/stackinator/recipe.py +++ b/stackinator/recipe.py @@ -362,6 +362,9 @@ def generate_environment_specs(self, raw): else: raise Exception(f"{spec} is not a valid MPI spec") + # add the mpi spec to the list of explicit specs + specs.append(spec) + # if the recipe provided explicit specs for dependencies, inject them: if config["network"]["specs"]: specs += config["network"]["specs"]