Where to locate the Intel MKL in Matlab

柔情痞子 提交于 2019-12-06 04:17:02

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!