MEX/Lapack/Blas problem

8 views (last 30 days)
Cem Gormezano
Cem Gormezano on 10 Jul 2020
Commented: Nathan on 19 Nov 2025 at 21:15
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 Comments
Kenton Huff
Kenton Huff on 22 Dec 2021
Did you ever find the solution to this? I'm having the exact same issue with blendepik.
Nathan
Nathan on 19 Nov 2025 at 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

Sign in to comment.

Answers (0)

Categories

Find more on LAPACK in MATLAB in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!