Skip to content

Commit

Permalink
intel-oneapi-mkl: add hpcx-mpi to the list of supported MPI libs (spa…
Browse files Browse the repository at this point in the history
…ck#39625)

Co-authored-by: Loris Ercole <[email protected]>
  • Loading branch information
lorisercole and Loris Ercole authored Aug 25, 2023
1 parent 8a08f09 commit 4502351
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
)

Expand Down

0 comments on commit 4502351

Please sign in to comment.