mpich: fixup removal of pmi=off option (#43377)
This commit is contained in:
parent
89ac747a76
commit
be231face6
@ -388,7 +388,7 @@ def is_disabled(text):
|
|||||||
if re.search(r"--with-thread-package=argobots", output):
|
if re.search(r"--with-thread-package=argobots", output):
|
||||||
variants.append("+argobots")
|
variants.append("+argobots")
|
||||||
|
|
||||||
elif re.search(r"--with-pmi=simple", output):
|
if re.search(r"--with-pmi=simple", output):
|
||||||
variants.append("pmi=pmi")
|
variants.append("pmi=pmi")
|
||||||
elif re.search(r"--with-pmi=pmi2/simple", output):
|
elif re.search(r"--with-pmi=pmi2/simple", output):
|
||||||
variants.append("pmi=pmi2")
|
variants.append("pmi=pmi2")
|
||||||
@ -554,9 +554,7 @@ def configure_args(self):
|
|||||||
else:
|
else:
|
||||||
config_args.append("--with-slurm=no")
|
config_args.append("--with-slurm=no")
|
||||||
|
|
||||||
if "pmi=off" in spec:
|
if "pmi=pmi" in spec:
|
||||||
config_args.append("--with-pmi=no")
|
|
||||||
elif "pmi=pmi" in spec:
|
|
||||||
config_args.append("--with-pmi=simple")
|
config_args.append("--with-pmi=simple")
|
||||||
elif "pmi=pmi2" in spec:
|
elif "pmi=pmi2" in spec:
|
||||||
config_args.append("--with-pmi=pmi2/simple")
|
config_args.append("--with-pmi=pmi2/simple")
|
||||||
|
Loading…
Reference in New Issue
Block a user