Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to locate the Intel MKL in Matlab

I have a MATLAB subscription and I have read that MATLAB uses Intel MKL libraries but I am not sure where to locate all the DLLs / files corresponding to the Intel MKL libraries. I could find any mention of their location in the documentation.

Thanks

like image 975
uday Avatar asked Oct 21 '22 18:10

uday


1 Answers

You will find the library at [matlabroot]\bin\ARCH\mkl.dll (e.g. C:\Program Files\MATLAB\R2013b\bin\win64\mkl.dll), but this is just the runtime library. I don't think there is anything you can do with it. To actually develop with Intel MKL, you will need the headers, libraries, etc., which can only be obtained by purchasing the product. It seems that MATLAB provides instructions on how to use LAPACK and BLAS functions from MEX-files via the import libraries libmwblas.lib and libmwlapack.lib in extern\lib\[arch]\[compiler]. It is not clear if it is possible and/or permissible to build non-MEX or generally MATLAB-independent applications using these libraries.

By the way, this mkl.dll was probably built using a procedure similar to the one posted here, which was a typical way of replacing ATLAS with MKL before MathWorks went ahead and did it for everyone, which by the way was a glorious day. However, these instructions seem to be intended for just getting the most recent version of MKL.

like image 155
chappjc Avatar answered Jan 02 '23 20:01

chappjc