LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-15-2007, 11:43 AM   #1
lies
LQ Newbie
 
Registered: Sep 2007
Distribution: Mandriva2009
Posts: 22

Rep: Reputation: 15
blas library doesn't link


Hello,
I have Mandrakelinux10.1 installed on my computer.
I am trying to install a program that requires the blas library. I downloaded the mkl-libary from the Intel-website and followed their instructions from the install txt to intall it. Since the library isn't in a 'normal' place I used the command line:

../configure --with-cxxflags=-DTHERMAL --with-blas=-L/opt/intel/mkl/9.1.023/lib/32 -libmkl_ia32

Now, if I configure the program it gives me the following error:

configure: WARNING: This is a hack to see if blas will link
checking for dgemv_ in -lm... no
configure: error: *** Supplied blas doesn't link ***

This is what it says in (part of) the configure log:

configure:6681: WARNING: This is a hack to see if blas will link
configure:6684: checking for dgemv_ in -lm
configure:6715: g++ -o conftest -DTHERMAL -DLITTLEENDIAN -Wno-non-template-friend -pipe -O -DTHERMAL -DLITTLEENDIAN -Wno-non-template-friend -pipe -O conftest.cc -lm -L/opt/intel/mkl/9.1.023/lib/32 -libmkl_ia32
-lm >&5
/usr/bin/ld: cannot find -libmkl_ia32
collect2: ld returned 1 exit status
configure:6721: $? = 1
configure: failed program was:
| /* confdefs.h. */

What am I doing wrong? How do I link this library correctly?
Thank you already for your help.
 
Old 09-15-2007, 11:48 PM   #2
yveslin7
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
RE>>blas library doesn't link

Hi

>>lies wrote:
>>../configure --with-cxxflags=-DTHERMAL --with-blas=-L/opt/intel/mkl/
>>9.1.023/lib/32 -libmkl_ia32
^^^^^^^^^^^^^
It should use -lmkl_ia32.

On Linux/Unix, doing -l<something>, it searches for libsomething.a or libsomething.so.

Hope this will help.

Best regards,
 
Old 09-16-2007, 11:58 AM   #3
lies
LQ Newbie
 
Registered: Sep 2007
Distribution: Mandriva2009
Posts: 22

Original Poster
Rep: Reputation: 15
Thank you, this helped!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem about blas ztdep Linux - Software 1 11-10-2006 12:39 PM
some problem about LAPACK and BLAS ztdep Linux - Software 8 08-03-2005 05:32 AM
link using libuClibc-0.9.20.so library nignogeta Linux - Software 0 06-30-2005 06:27 AM
How to link a library to gcc? Andrea_81 Programming 6 05-05-2005 04:22 AM
KDevelop, how to link a library?? Umanga Programming 1 01-10-2005 05:13 PM

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

All times are GMT -5. The time now is 06:10 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