-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure in linking xtensor-blas with lapack/blas? #219
Comments
Do u resolve this problem? I have the same one. |
@willamhou In my case (I'm on Ubuntu), I have to also supply |
Thanks u for your reply. I solve this problem, add "-lcblas -lblas -llapack `-lgfortran" to complie the binary. |
I'm trying to compile a program that uses xtensor-blas, when I encounter a linker error. The error message is
where testTensor.o is calling
auto d = xt::linalg::det(a);
.I'm using lapack-3.10.1 and blas-3.10.0, and I have supplied the
-lblas -llapack -DHAVE_CBLAS=1
tag to g++, as suggested by the documention. I've also tried using the alternative tag-DXTENSOR_USE_FLENS_BLAS
, which results in the same error message.Any help or suggestion is hugely appreciated. Thanks!
The text was updated successfully, but these errors were encountered: