cblas?
cblas?
I'm trying to compile some software that links against cblas. I've installed blas, blas-devel, atlas and atlas-devl with yum but none of these packages include cblas. Googling about where to get cblas for centos returns lots of results saying that cblas should come with atlas in centos 6, but it does not appear to do so in centos 7. How do I install cblas on centos 7?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: cblas?
cblas.h is part of atlas-devel.
The docs are in /usr/share/doc/atlas-devel*
The docs are in /usr/share/doc/atlas-devel*
Re: cblas?
You are correct, I have cblas.h in /usr/include, however I do not seem to have a libcblas.so anywhere on my system. The software I am trying to compile specifies -lcblas explicitly to the linker, which complains that cblas cannot be found. I have tried removing this and linking against libatlas.so only, but predictibly the linker complains about undefined symbols for the cblas_* functions. Is there a different library I should link against to get these symbols?
Re: cblas?
Names and content of atlas libraries have changed recently. Try
-L/usr/lib64/atlas -lsatlas or -L/usr/lib64/atlas -ltatlas
instead of
-lcblas.
IIRC 's' means single- and 't' multi-threaded.
-L/usr/lib64/atlas -lsatlas or -L/usr/lib64/atlas -ltatlas
instead of
-lcblas.
IIRC 's' means single- and 't' multi-threaded.
Re: cblas?
Thank you this seems to have solved my problem. Thanks.