intel-oneapi-mkl: add hpcx-mpi to the list of supported MPI libs (#39625)
Co-authored-by: Loris Ercole <a-lercole@microsoft.com>
This commit is contained in:
parent
8a08f09ac0
commit
4502351659
1 changed files with 5 additions and 3 deletions
|
@ -201,14 +201,16 @@ def _find_mkl_libs(self, shared):
|
|||
]
|
||||
):
|
||||
libs.append(self._xlp64_lib("libmkl_blacs_intelmpi"))
|
||||
elif any(self.spec.satisfies(m) for m in ["^openmpi", "mpi_family=openmpi"]):
|
||||
elif any(
|
||||
self.spec.satisfies(m) for m in ["^openmpi", "^hpcx-mpi", "mpi_family=openmpi"]
|
||||
):
|
||||
libs.append(self._xlp64_lib("libmkl_blacs_openmpi"))
|
||||
else:
|
||||
raise RuntimeError(
|
||||
(
|
||||
"intel-oneapi-mpi +cluster requires one of ^intel-oneapi-mpi, "
|
||||
"intel-oneapi-mkl +cluster requires one of ^intel-oneapi-mpi, "
|
||||
"^intel-mpi, ^mpich, ^cray-mpich, mpi_family=mpich, ^openmpi, "
|
||||
"or mpi_family=openmpi"
|
||||
"^hpcx-mpi, or mpi_family=openmpi"
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue