mkl interface (#43673)
This commit is contained in:
parent
a2b76c68a0
commit
32bb5c7523
1 changed files with 5 additions and 1 deletions
|
@ -200,7 +200,11 @@ def _find_mkl_libs(self, shared):
|
|||
if self.spec.satisfies("+cluster"):
|
||||
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"):
|
||||
libs.append("libmkl_tbb_thread")
|
||||
elif self.spec.satisfies("threads=openmp"):
|
||||
|
|
Loading…
Reference in a new issue