How can I use the AMD Optimizing CPU Libraries (AOCL) with MATLAB for windows?

My CPU is amd 9900X3D, GPU is RTX5070, Windows11 25H2
Then I install the AOCL5.0 in this link:'AMD Optimizing CPU Libraries EULA 5.1'
Follow the tutorial in the text,I found matlab error:
-----------------------------------------------------------------------------------------------
version -blas, version -lapack
BLAS: trying environment BLAS_VERSION...
BLAS: loading AOCL-LibBlis-Win-MT-dll.dll
BLAS: unloading libraries
BLAS 加载错误:
AOCL-LibBlis-Win-MT-dll.dll: 找不到指定的模块。
--------------------------------------------------------------
Is this because my OS is Windows? and how to solve it?
Thank u

5 comentarios

Approximate translation:
Error using matlab.lang.internal.versionPlugins.blas
BLAS loading error:
AOCL-LibBlis-Win-MT-dll.dll: The specified module could not be found.
I know the meaning of this error, and I also try to addpath to the windows environments, but this not work.
I was translating for the benefit of other people who cannot read Chinese.
A few possible reasons for this error can be:
1) MATLAB may not be able to find, load, or recognize the AOCL DLL files, or there may be naming conflicts.
2) The environment variables or library paths may not be set correctly, causing MATLAB to fail to load the required DLLs.

Iniciar sesión para comentar.

Respuestas (1)

The steps on
are only valid for the AOCL version that is shipping with MATLAB.
As @Ayush pointed out, if you install AOCL yourself, you need to specify the entire path to the binaries:
BLAS_VERSION=\full\path\to\lib\blasLib.dll
And same for LAPACK_VERSION.
Also, notice that arbitrary AOCL installs might not be suited to be used with MATLAB and have not been qualified on our end.

Categorías

Productos

Versión

R2025b

Etiquetas

Preguntada:

el 2 de Dic. de 2025

Respondida:

el 2 de Mzo. de 2026

Community Treasure Hunt

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

Start Hunting!

Translated by