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

Binary File for BLAS and LAPACK function

Ngu_Soon_Hui
Beginner
431 Views
I understand that the routine for BLAS and LAPACK are provided in the source form with MKL. But is there a binary dll version for both win 32 and win 64 for the above two libraries? I don't want to build those libraries myself, even if I could
0 Kudos
1 Solution
VipinKumar_E_Intel
431 Views
0 Kudos
5 Replies
VipinKumar_E_Intel
431 Views

BLAS and LAPACK are not provided as source in Intel MKL. Once you install MKL, you will have the static and dynamic libraries in the installation folder. You can use use the BLAS and LAPACK routines in your code and link with the libraries.

--Vipin

0 Kudos
Ngu_Soon_Hui
Beginner
431 Views
Vipin, may I know what is the dll for BLAS and LAPACK ( for both win 32 and win 64) called?
0 Kudos
VipinKumar_E_Intel
431 Views
BLAS and LAPACK are in the mkl_core_dll.lib which is a static dispatcher lib to the dynamic library, but you also need to link the interface, threading, and runtime libs. If you want to link to a single dynamic lib, that is also possible from 10.3 MKL onwards, mkl_rt.lib. I would recommend you to go through the MKL online userguide.

http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/mklxe/mkl_userguide_win/index.htm

Refer "Linking your application with Intel MKL section".

--Vipin
0 Kudos
Ngu_Soon_Hui
Beginner
431 Views
Vipin, perhaps I should mention that I would need a dll ( instead of a lib) because I would need to call BLAS function from C# via interop.
Any ideas?
0 Kudos
VipinKumar_E_Intel
432 Views
We got a good KB article published on using MKL from C#.
http://software.intel.com/en-us/articles/using-intel-mkl-in-your-c-program/
0 Kudos
Reply