问题
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
回答1:
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.
来源:https://stackoverflow.com/questions/20623308/where-to-locate-the-intel-mkl-in-matlab