mapl: add hpcx-mpi (#47793)

This commit is contained in:
Matt Thompson 2024-11-28 03:15:25 -05:00 committed by GitHub
parent 60e3e645e8
commit a042bdfe0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -383,6 +383,7 @@ def cmake_args(self):
# - 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 @@ def cmake_args(self):
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")