MATLAB Answers

What is blas loading error?

68 views (last 30 days)
KRUPAL PATEL
KRUPAL PATEL on 12 Sep 2016
Answered: Hirokazu Tanaka on 14 Sep 2018
I am trying to use matrix algebra functions in matlab but I am getting BLAS loading error. It gives error like:"Error using norm BLAS loading error: mkl_custom.dll: The specified module could not be found."

  1 Comment

Stephen Cobeldick
Stephen Cobeldick on 12 Sep 2016
@KRUPAL PATEL: please show use the code that causes this error, and also the full error message (this means all of the red text).

Sign in to comment.

Answers (2)

Farouk Moukaddem
Farouk Moukaddem on 19 Sep 2016
Hi Kruptal,
A BLAS Loading error can occur when the mkl.dll file for the corresponding function that you are using is corrupted. Replacing the mkl.dll file with a working version or re=installing MATLAB may resolve your issue.
Thanks,
Farouk

  0 Comments

Sign in to comment.


Hirokazu Tanaka
Hirokazu Tanaka on 14 Sep 2018
It might be the case that the Environment Variables 'BLAS_VERSION' is defined and it make MATLAB to use whatever the library specified by 'BLAS_VERSION'. If the specified library does not exist, you get an error :"Error using norm BLAS loading error: mkl_custom.dll: The specified module could not be found."
You can check if the variable is defined by executing the following command on MATLAB
getenv('BLAS_VERSION')
If the result is some library that you are not aware of, you can just delete it and restart MATLAB to see if the issue is resolved.

  0 Comments

Sign in to comment.

Sign in to answer this question.