summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raffenetti <raffenet@users.noreply.github.com>2024-02-19 04:38:49 -0600
committerGitHub <noreply@github.com>2024-02-19 11:38:49 +0100
commit603d3f2283fff36cac53972ecd1343bbfd42b76f (patch)
tree58353a454ec7b225588e52017a99598f3c141a71
parent02bfbbe269e0126154fe1c197f0ae49bc9e189b3 (diff)
downloadspack-603d3f2283fff36cac53972ecd1343bbfd42b76f.tar.gz
spack-603d3f2283fff36cac53972ecd1343bbfd42b76f.tar.bz2
spack-603d3f2283fff36cac53972ecd1343bbfd42b76f.tar.xz
spack-603d3f2283fff36cac53972ecd1343bbfd42b76f.zip
mpich: Remove invalid pmi option (#42686)
pmi=off is not a valid configuration option. MPICH cannot function without a PMI library. Fixes #42685.
-rw-r--r--var/spack/repos/builtin/packages/mpich/package.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py
index 3398da3f5a..12815e5446 100644
--- a/var/spack/repos/builtin/packages/mpich/package.py
+++ b/var/spack/repos/builtin/packages/mpich/package.py
@@ -63,7 +63,7 @@ class Mpich(AutotoolsPackage, CudaPackage, ROCmPackage):
"pmi",
default="pmi",
description="""PMI interface.""",
- values=("off", "pmi", "pmi2", "pmix", "cray"),
+ values=("pmi", "pmi2", "pmix", "cray"),
multi=False,
)
variant(
@@ -385,8 +385,6 @@ supported, and netmod is ignored if device is ch3:sock.""",
if re.search(r"--with-thread-package=argobots", output):
variants.append("+argobots")
- if re.search(r"--with-pmi=no", output):
- variants.append("pmi=off")
elif re.search(r"--with-pmi=simple", output):
variants.append("pmi=pmi")
elif re.search(r"--with-pmi=pmi2/simple", output):