mkl interface (#43673)

This commit is contained in:
Rocco Meli 2024-04-17 22:19:35 +02:00 committed by GitHub
parent a2b76c68a0
commit 32bb5c7523
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"])
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"):