PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Problems linking to ACML

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
led23head



Joined: 26 Jul 2004
Posts: 1

PostPosted: Wed Aug 04, 2004 5:13 pm    Post subject: Problems linking to ACML Reply with quote

I'm having problems linking to the ACML library. Specifically, I have a hankel function that can't link to r1mach or i1mach. The errors I get are of the form:


hankel.o(.text+0xfff): In function `mhankel_cairy_':
: undefined reference to `r1mach_'


The linker options I send to the compiler are:

-L/opt/pgi/linux86-64/5.2/libso -lacml


There are LAPACK calls that seem to work fine, so I think I should have the correct linker path given above. What am I doing wrong?

BTW, dual Opterons running RHEL 3WS Update 2.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5943
Location: The Portland Group Inc.

PostPosted: Thu Aug 05, 2004 8:39 am    Post subject: System specific routines. Reply with quote

r1mach, d1mach, and i1mach are not included in either acml or our standard blas library. I believe these are system specific routines that must be downloaded and compiled separately. More on this can be found at netlib.org's FAQ page http://www.netlib.org/misc/faq.html#2.17 in section 2.17. There are links to the files as well.

Hope this helps!
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group