Hot to fix LAPACK/BLAS loading error?

37 ビュー (過去 30 日間)
Augusto Martins
Augusto Martins 2016 年 2 月 19 日
編集済み: Yue Wei 2022 年 3 月 29 日
We've recently updated the matlab in our lab's computers to the 2015a version. But now the following errors are happening whenever some basic functions are used:
BLAS loading error: mkl.dll:Could not find the specified module
and
LAPACK loading error: mkl.dll:Could not find the specified module
How can we fix this issue? Thanks.
  2 件のコメント
Rubén García García
Rubén García García 2020 年 4 月 12 日
Tengo el mismo problema. Si encontraste la solución espero puedas compartirmela, te lo agradecería mucho ¡Saludos!
Augusto Martins
Augusto Martins 2020 年 4 月 13 日
Hi Rúben, that has been a while but I still remember what I did. I had noticed that matlab 2015 we installed was really lacking this library. But I also had the 2013, which was working properly and had the mkl.dll. So I simply copied the dll in the 2015 lib folder and it worked. Hope it helps you!

サインインしてコメントする。

回答 (2 件)

Yue Wei
Yue Wei 2022 年 3 月 29 日
編集済み: Yue Wei 2022 年 3 月 29 日
I also encountered the same problem, my solution is two:
1. First solution-Add two environment variables, the 1st variable's NAME is BLAS_VERSION and VALUE is mkl.dll, the 2nd variable NAME LAPACK_VERSION and VALUE is MKL.dll.
2. Second solution-Enter two lines of code in the MATLAB Command Window, the 1st: setenv('BLAS_VERSION', 'mkl.dll'), and the 2nd: setenv('LAPACK_VERSION', 'mkl.dll').
Then, In the MATLAB Command Window, you can test the code below:
1. version -blas;
2. version -lapack

Walter Roberson
Walter Roberson 2016 年 2 月 19 日
I do not know why that has happened to you, but the following might help:

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by