Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7222 Discussions

MKL 10.0 for Mac OSX -- no static lapack library?

rlschie
Beginner
633 Views
In version 10.0 of the Intel Math library, the documentation mentions a static version of the lapack library libmkl_lapack.a, but no such library is supplied with the Mac OSX version. Can I use the one from version 9 of the library?

Thanks

Rich

0 Kudos
4 Replies
TimP
Honored Contributor III
633 Views
MKL 10 has a complete re-organization of library contents, so you would not be able to mix in libraries from an earlier version. Can you satisfy your lapack dependencies with mkl_core (and, if 64-bit, the appropriate choice between ilp64 and lp64)?
I know it's annoying if you have to search the libraries to find out where dependencies are satisfied; perhaps constructive suggestions would lead to improved documentation.
The documentation recommends against the static libraries, for a variety of reasons, some of which ought to be fixed.
0 Kudos
rlschie
Beginner
633 Views
I didn't realize that one could satify Lapack requirements with just libmkl_intel, libmkl_intel_thread and libmkl_core. Just repeating those three, static, libraries on the link line 3 times resolves all of the symbols.

Thanks!


0 Kudos
Todd_R_Intel
Employee
633 Views

It's true that we appreciate feedback on our documentation. It sounds like we need to remove mention of libmkl_lapack.a from the documentation. I'll make a note of it.

As pointed out, the libraries were rearranged withMKL 10.0. To try to smooth the transition we tried whereever possible to provide linker scripts or "dummy" libraries that load default libraries (the newly named ones) so that users could possibly link to version 10.0 without changing their build scripts. It seems that the LAPACK library was one such compatibility lib that for one reason or another could not be implemented.

As for chasing down dependencies, the "Selecting Libraries to Link" section of chapter 5 in the user guide might be helpful. Let us know how we can improve this too.

Todd

0 Kudos
TimP
Honored Contributor III
633 Views
The requirement for listing the static libraries 3 times, rather than using "-Wl, --start-group" and "-Wl,--end-group" around a single instance of the list, should be fixed in ifort 10.1.012.
0 Kudos
Reply