MEX/Lapack/Blas problem
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Kenton Huff
le 22 Déc 2021
Did you ever find the solution to this? I'm having the exact same issue with blendepik.
Nathan
le 19 Nov 2025 à 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
Réponses (0)
Voir également
Catégories
En savoir plus sur LAPACK in MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!