abhivg

cannot find some LAPACK symbols in 'libacml_dll.dll'

Discussion created by abhivg on Aug 1, 2007
Latest reply on Sep 13, 2007 by illenseer
Hi,

I am trying to build and link some Fortran code which uses LAPACK routines. I am using ACML 3.6.0 with PGI fortran compiler.
When I try to link using the dynamic ACML library (libacml_dll.lib), I am getting the following error:

slassq_test.obj : error LNK2019: unresolved external symbol slassq_ referenced i
n function MAIN_
test.exe : fatal error LNK1120: 1 unresolved externals


If I link using the static ACML library (libacml.lib). it links fine.

I tried using 'dumpbin.exe' to see which symbols are supported by libacml.lib and libacml.dll, I observed that the dll doesnt have some symbols present in the lib including 'slassq_'.

Doesn't the dll version support all the LAPACK functions supported by the lib version?
Do I need to use some PGI fortran compiler flags while linking with libacml_dll.lib?

thanks in advance
Abhishek

Outcomes