problem about linking with lapack

Open discussion regarding features, bugs, issues, vendors, etc.

problem about linking with lapack

Postby dp » Thu Mar 23, 2006 4:21 am

Hi;
i download a prebuilt library lapack_linu.a , and i solve aa simple problems solving a simple linear equation systems , my code is named dp.f. and i put dp.f and lapack_linux.a under the same directory.
i use command
f77 dp.f lapack_linux.a
but it gives me the following error
"undefined reference to dgesv"
dgesv is a drive routine in the lapack.

show what is the reason

regards
dp
 
Posts: 4
Joined: Thu Mar 23, 2006 3:59 am

Postby themos » Thu Mar 23, 2006 8:10 am

Your problem might be the same as here:

http://icl.cs.utk.edu/lapack-forum/view ... eda97cf527
themos
 
Posts: 6
Joined: Thu Mar 23, 2006 7:54 am

Postby Julien Langou » Thu Mar 23, 2006 5:36 pm

Hello,
I am not sure that post will help.
dgesv should be in the lapack library
- do you use the same compiler for building lapack and comiling dp?
- try to do an 'nm lapack_linux.a | grep -i dgesv' and see what 's in there.
Julien
Julien Langou
 
Posts: 734
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA


Return to User Discussion

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron