Comments (3)
@willamhou In my case (I'm on Ubuntu), I have to also supply -lgfortran
after -lblas -llapack
as these two libraries depends on it.
But when switching to OSX, it seems like -lgfortran
should NOT be supplied.
from xtensor-blas.
@willamhou In my case (I'm on Ubuntu), I have to also supply
-lgfortran
after-lblas -llapack
as these two libraries depends on it. But when switching to OSX, it seems like-lgfortran
should NOT be supplied.
Thanks u for your reply. I solve this problem, add "-lcblas -lblas -llapack `-lgfortran" to complie the binary.
from xtensor-blas.
I'm trying to compile a program that uses xtensor-blas, when I encounter a linker error. The error message is
... testTensor.o: In function `int cxxlapack::getrf<int>(int, int, double*, int, int*)': /usr/local/include/xflens/cxxlapack/interface/getrf.tcc:76: undefined reference to `dgetrf_' collect2: error: ld returned 1 exit status ...
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!
Do u resolve this problem? I have the same one.
from xtensor-blas.
Related Issues (20)
- `linalg::norm` not working (does not compile) for `std::complex<float>` HOT 3
- Build with `-DMKL_ILP64` fails. HOT 1
- doc build fails with sphinx 4: no attribute 'add_stylesheet'
- xlapack.solveCholesky test precision too high for 32 bit machines HOT 7
- 0.20.0 installs the empty directory include/xflens/cxxblas/netlib
- warnings from clang-12 in tests HOT 1
- Unable to compile on Ubuntu HOT 1
- Memory access violation when calling dot using MKL
- Latest version on GitHub doesn't seem correct
- Latest version on GitHub doesn't seem correct HOT 1
- emmmm, i not find the funcation can implentment the matrix multiply like np.matmul........ HOT 1
- Could NOT find BLAS (missing: BLAS_LIBRARIES) HOT 3
- [Feature request] Support xt::linalg::outer for higher-dimensional objects
- conflict with open3d lib which depend on eigen
- Unexpected results from xt::linalg::matrix_power with even exponents
- xcontainer objects should accept xcontainers in operator() HOT 1
- QUERY: Handling custom wrappers over complex data
- The different precision between numpy and xtensor_blas package when using cholesky function HOT 2
- using xt::linalg results in .pyd resulting in DLL not found.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xtensor-blas.