intel-oneapi-mkl: include mpi libs when using +cluster (#37386)
This commit is contained in:
parent
16613408e4
commit
3c40d9588f
1 changed files with 4 additions and 1 deletions
|
@ -163,7 +163,10 @@ def _find_mkl_libs(self, shared):
|
|||
lib_path = self.component_prefix.lib.intel64
|
||||
lib_path = lib_path if isdir(lib_path) else dirname(lib_path)
|
||||
|
||||
return find_libraries(libs, lib_path, shared=shared)
|
||||
resolved_libs = find_libraries(libs, lib_path, shared=shared)
|
||||
if "+cluster" in self.spec:
|
||||
resolved_libs = resolved_libs + self.spec["mpi"].libs
|
||||
return resolved_libs
|
||||
|
||||
def _xlp64_lib(self, lib):
|
||||
return lib + ("_ilp64" if "+ilp64" in self.spec else "_lp64")
|
||||
|
|
Loading…
Reference in a new issue