MEX/Lapack/Blas problem
8 ビュー (過去 30 日間)
古いコメントを表示
I don't have technical background, I am just trying to configure a solver called Blendenpik (https://uk.mathworks.com/matlabcentral/fileexchange/25241-blendenpik), and get the following error:
MEX completed successfully.
Building with 'Xcode with Clang'.
/Users/cemgormezano/Documents/Dissertation/blendenpik/dense_underdetermined_lsqr.c:90:4: warning: implicit declaration of function 'dtrsv' is invalid in C99 [-Wimplicit-function-declaration]
DTRSV("L", "N", "Not Unit", &m, L, &m, u, &int_one);
^
/Users/cemgormezano/Documents/Dissertation/blendenpik/dense_underdetermined_lsqr.c:16:15: note: expanded from macro 'DTRSV'
#define DTRSV dtrsv
^
/Users/cemgormezano/Documents/Dissertation/blendenpik/dense_underdetermined_lsqr.c:100:3: warning: implicit declaration of function 'dgemv' is invalid in C99 [-Wimplicit-function-declaration]
DGEMV("T", &m, &n, &dbl_one, A, &m, z, &int_one, &dbl_zero, v, &int_one);
^
/Users/cemgormezano/Documents/Dissertation/blendenpik/dense_underdetermined_lsqr.c:15:15: note: expanded from macro 'DGEMV'
#define DGEMV dgemv
^
2 warnings generated.
MEX completed successfully.
Building FFTW's wisdom...
My guess is that dense_underdetermined_lsqr.c cannot find MATLABs lapack or blas, yet I dont know how I can resolve this issue. Many thanks.
2 件のコメント
Kenton Huff
2021 年 12 月 22 日
Did you ever find the solution to this? I'm having the exact same issue with blendepik.
Nathan
2025 年 11 月 19 日 21:15
Hi there,
I see no errors in this post. There are serveral compiler warnings, but the MEX funtion compiled successfully. Does it throw an error when you try to use it, or does this somehow stop code execution?
-Nathan
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で LAPACK in MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!