| View previous topic :: View next topic |
| Author |
Message |
led23head
Joined: 26 Jul 2004 Posts: 1
|
Posted: Wed Aug 04, 2004 5:13 pm Post subject: Problems linking to ACML |
|
|
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 |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Aug 05, 2004 8:39 am Post subject: System specific routines. |
|
|
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 |
|
 |
|