mkl interface (#43673)
This commit is contained in:
parent
a2b76c68a0
commit
32bb5c7523
@ -200,7 +200,11 @@ def _find_mkl_libs(self, shared):
|
|||||||
if self.spec.satisfies("+cluster"):
|
if self.spec.satisfies("+cluster"):
|
||||||
libs.extend([self._xlp64_lib("libmkl_scalapack"), "libmkl_cdft_core"])
|
libs.extend([self._xlp64_lib("libmkl_scalapack"), "libmkl_cdft_core"])
|
||||||
|
|
||||||
libs.append(self._xlp64_lib("libmkl_intel"))
|
if self.spec.satisfies("%oneapi") or self.spec.satisfies("%intel"):
|
||||||
|
libs.append(self._xlp64_lib("libmkl_intel"))
|
||||||
|
else:
|
||||||
|
libs.append(self._xlp64_lib("libmkl_gf"))
|
||||||
|
|
||||||
if self.spec.satisfies("threads=tbb"):
|
if self.spec.satisfies("threads=tbb"):
|
||||||
libs.append("libmkl_tbb_thread")
|
libs.append("libmkl_tbb_thread")
|
||||||
elif self.spec.satisfies("threads=openmp"):
|
elif self.spec.satisfies("threads=openmp"):
|
||||||
|
Loading…
Reference in New Issue
Block a user