How can I use the AMD Optimizing CPU Libraries (AOCL) with MATLAB for windows?
Show older comments
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 Comments
Walter Roberson
on 2 Dec 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.
瑛杰
on 2 Dec 2025
Walter Roberson
on 2 Dec 2025
I was translating for the benefit of other people who cannot read Chinese.
瑛杰
on 2 Dec 2025
Answers (1)
Heiko Weichelt
on 2 Mar 2026
0 votes
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.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!