LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2013, 05:24 PM   #1
adamo514q
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Rep: Reputation: Disabled
Question Installing Atlas librairies / cblas / lapack


Hi,
I am trying to install and use the cblas and lapack libraries. The atlas library which contains these libraries is already installed see below:
rpm -qlp atlas-3.8.4-2.el6.x86_64.rpm
> > /etc/ld.so.conf.d/atlas-x86_64.conf
> > /usr/lib64/atlas
> > /usr/lib64/atlas/libatlas.so.3
> > /usr/lib64/atlas/libatlas.so.3.0
> > /usr/lib64/atlas/libcblas.so.3
> > /usr/lib64/atlas/libcblas.so.3.0
> > /usr/lib64/atlas/libclapack.so.3
> > /usr/lib64/atlas/libclapack.so.3.0
> > /usr/lib64/atlas/libf77blas.so.3
> > /usr/lib64/atlas/libf77blas.so.3.0
> > /usr/lib64/atlas/liblapack.so.3
> > /usr/lib64/atlas/liblapack.so.3.0
> > /usr/lib64/atlas/libptcblas.so.3
> > /usr/lib64/atlas/libptcblas.so.3.0
> > /usr/lib64/atlas/libptf77blas.so.3
> > /usr/lib64/atlas/libptf77blas.so.3.0
> > /usr/share/doc/atlas-3.8.4
> > /usr/share/doc/atlas-3.8.4/README.RHEL

When compiling I get this error:
cc -o testblas testblas.c -L /usr/lib64/atlas/ -lcblas
testblas.c:19:19: error: cblas.h: No such file or directory

It seems that the header files have not been installed.
Adamo
 
Old 02-28-2013, 10:57 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
cblas.h: No such file or directory
.
It seems that the header files have not been installed.
Right, atlas-3.8.4-2.el6.x86_64.rpm is run time libraries only.
Every library used for compilation must be <name>-devel.

yum provides */cblas.h

# yum install atlas-devel

Suggest : Please use $ yum search atlas
.. to list all atlas packages :
atlas-sse-devel atlas-sse2-devel atlas-sse3-devel etc.

-

Last edited by knudfl; 02-28-2013 at 11:12 AM.
 
Old 02-28-2013, 11:28 AM   #3
adamo514q
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi,
Thanks for your help. I have installed the sse3.x86_64 but still no signe of the header files.

yum install atlas-sse3.x86_64

yum search atlas

atlas-sse3.x86_64 : ATLAS libraries for SSE3 extensions
atlas.x86_64 : Automatically Tuned Linear Algebra Software
atlas.i686 : Automatically Tuned Linear Algebra Software

Regards,
 
Old 02-28-2013, 12:15 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
One more time : Please do $ yum provides */cblas.h

>>> atlas-devel atlas-sse-devel atlas-sse2-devel atlas-sse3-devel
Quote:
yum install atlas-sse3.x86_64
! That's still run time libraries only !

For ss3 you will have to install 'atlas-sse3-devel.x86_64'.

-
 
Old 02-28-2013, 12:41 PM   #5
adamo514q
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Here is result of the command :
yum provides */cblas.h
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
rhel-x86_64-server-6/filelists | 16 MB 00:01
No Matches found

------
yum install atlas-sse3-devel.x86_64
Loaded plugins: product-id, refresh-packagekit, rhnplugin, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
No package atlas-sse3-devel.x86_64 available.
Error: Nothing to do
 
Old 02-28-2013, 03:44 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 .


Suggest : Ask Redhat how to enable the repository with 'atlas-*-devel'.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused about LAPACK, ATLAS and BLAS statguy Slackware 14 01-29-2014 02:53 AM
Installing LAPACK on the ubuntu saeedian Linux - Software 16 12-06-2013 12:16 PM
[SOLVED] Installing LAPACK on OSX. Fortran90. C.L. Other *NIX 4 11-09-2011 02:00 AM
greenie over his head with installing lapack munichtexan Programming 0 05-13-2008 04:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration