BLAS installation using yum doesn't install header files??
I installed BLAS using yum on my RHEL.
Code:
yum install blas Code:
yum install blas-devel /usr/lib/libblas.so.3 /usr/lib/libblas.so.3.0 /usr/lib/libblas.so.3.0.3 /usr/lib64/libblas.so.3 /usr/lib64/libblas.so.3.0 /usr/lib64/libblas.so.3.0.3 But I can't find cblas.h file. Should I install something else to get the header file installed? I appreciate your help! |
Welcome to LQ.
# yum provides */cblas.h # yum install atlas-sse2-devel |
Thank you, knudfl!
Enabled EPLE (Extra Packages for Enterprise Linux) repository by Code:
# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm But I'm having another problem with linking BLAS library. For testing BLAS, I tried a simple program, testblas.c and compiled and linked with GNU compiler. Got the following error: Code:
$ cc -o testblas testblas.c -lblas jp |
Well, obviously no "cblas objects" in libblas.so .
rpm -ql atlas-sse2-devel | grep libcblas : /usr/lib/atlas-sse2/libcblas.a /usr/lib/atlas-sse2/libcblas.so /usr/lib/atlas/libcblas.a /usr/lib/atlas/libcblas.so I'd guess you will have to use the -L option, and libcblas : -L /usr/lib/atlas/ -lcblas .. |
All times are GMT -5. The time now is 06:23 PM. |