How can I use the AMD Optimizing CPU Libraries (AOCL) with MATLAB for windows?
Mostrar comentarios más antiguos
My CPU is amd 9900X3D, GPU is RTX5070, Windows11 25H2
To use the AMD optimization in MATLAB, I have already see the Q&A for this link:'How can I use the BLAS and LAPACK implementations included in AMD Optimizing CPU Libraries (AOCL) with MATLAB R2022a? - MATLAB Answers - MATLAB Central'
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
Walter Roberson
el 2 de Dic. de 2025
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.
瑛杰
el 2 de Dic. de 2025
Walter Roberson
el 2 de Dic. de 2025
I was translating for the benefit of other people who cannot read Chinese.
瑛杰
el 2 de Dic. de 2025
Ayush
el 12 de Dic. de 2025
Hi 瑛杰
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.
Respuestas (1)
Heiko Weichelt
el 2 de Mzo. de 2026
0 votos
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
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!