summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Thompson <matthew.thompson@nasa.gov>2024-11-28 03:15:25 -0500
committerGitHub <noreply@github.com>2024-11-28 09:15:25 +0100
commita042bdfe0b509a3d46e47e688a98cbd297bf8385 (patch)
tree7f5d27cfd78a4a347cef7e03c4e4e166a68e2156
parent60e3e645e8969bb96fcabf0ec5ce70044c6d43da (diff)
downloadspack-a042bdfe0b509a3d46e47e688a98cbd297bf8385.tar.gz
spack-a042bdfe0b509a3d46e47e688a98cbd297bf8385.tar.bz2
spack-a042bdfe0b509a3d46e47e688a98cbd297bf8385.tar.xz
spack-a042bdfe0b509a3d46e47e688a98cbd297bf8385.zip
mapl: add hpcx-mpi (#47793)
-rw-r--r--var/spack/repos/builtin/packages/mapl/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mapl/package.py b/var/spack/repos/builtin/packages/mapl/package.py
index bb9941f43d..831fcb6750 100644
--- a/var/spack/repos/builtin/packages/mapl/package.py
+++ b/var/spack/repos/builtin/packages/mapl/package.py
@@ -383,6 +383,7 @@ class Mapl(CMakePackage):
# - MVAPICH --> mvapich
# - HPE MPT --> mpt
# - Cray MPICH --> mpich
+ # - HPC-X --> openmpi
if self.spec.satisfies("^mpich"):
args.append(self.define("MPI_STACK", "mpich"))
@@ -398,6 +399,8 @@ class Mapl(CMakePackage):
args.append(self.define("MPI_STACK", "mpt"))
elif self.spec.satisfies("^cray-mpich"):
args.append(self.define("MPI_STACK", "mpich"))
+ elif self.spec.satisfies("^hpcx-mpi"):
+ args.append(self.define("MPI_STACK", "openmpi"))
else:
raise InstallError("Unsupported MPI stack")