diff options
author | Ken Raffenetti <raffenet@users.noreply.github.com> | 2024-03-28 02:08:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 08:08:37 +0100 |
commit | be231face6ee8ed9513155c35dc5ab8fe76af31e (patch) | |
tree | 9a67d965569c35c097e6c34b45640e11676cf2a4 /var | |
parent | 89ac747a76a2f73eda7366acbeaea8bf22684928 (diff) | |
download | spack-be231face6ee8ed9513155c35dc5ab8fe76af31e.tar.gz spack-be231face6ee8ed9513155c35dc5ab8fe76af31e.tar.bz2 spack-be231face6ee8ed9513155c35dc5ab8fe76af31e.tar.xz spack-be231face6ee8ed9513155c35dc5ab8fe76af31e.zip |
mpich: fixup removal of pmi=off option (#43377)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mpich/package.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py index 819273973d..1143074eaf 100644 --- a/var/spack/repos/builtin/packages/mpich/package.py +++ b/var/spack/repos/builtin/packages/mpich/package.py @@ -388,7 +388,7 @@ supported, and netmod is ignored if device is ch3:sock.""", if re.search(r"--with-thread-package=argobots", output): variants.append("+argobots") - elif re.search(r"--with-pmi=simple", output): + if re.search(r"--with-pmi=simple", output): variants.append("pmi=pmi") elif re.search(r"--with-pmi=pmi2/simple", output): variants.append("pmi=pmi2") @@ -554,9 +554,7 @@ supported, and netmod is ignored if device is ch3:sock.""", else: config_args.append("--with-slurm=no") - if "pmi=off" in spec: - config_args.append("--with-pmi=no") - elif "pmi=pmi" in spec: + if "pmi=pmi" in spec: config_args.append("--with-pmi=simple") elif "pmi=pmi2" in spec: config_args.append("--with-pmi=pmi2/simple") |