intel-oneapi-mkl: support for cray mpich (#38725)
This commit is contained in:
parent
a99b7886e9
commit
fa73b14247
1 changed files with 4 additions and 1 deletions
|
@ -176,7 +176,10 @@ def _find_mkl_libs(self, shared):
|
||||||
libs.append("libmkl_core")
|
libs.append("libmkl_core")
|
||||||
|
|
||||||
if self.spec.satisfies("+cluster"):
|
if self.spec.satisfies("+cluster"):
|
||||||
if any(self.spec.satisfies(m) for m in ["^intel-oneapi-mpi", "^intel-mpi", "^mpich"]):
|
if any(
|
||||||
|
self.spec.satisfies(m)
|
||||||
|
for m in ["^intel-oneapi-mpi", "^intel-mpi", "^mpich", "^cray-mpich"]
|
||||||
|
):
|
||||||
libs.append(self._xlp64_lib("libmkl_blacs_intelmpi"))
|
libs.append(self._xlp64_lib("libmkl_blacs_intelmpi"))
|
||||||
elif self.spec.satisfies("^openmpi"):
|
elif self.spec.satisfies("^openmpi"):
|
||||||
libs.append(self._xlp64_lib("libmkl_blacs_openmpi"))
|
libs.append(self._xlp64_lib("libmkl_blacs_openmpi"))
|
||||||
|
|
Loading…
Reference in a new issue