zgetrf_ is not found

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

zgetrf_ is not found

Postby balson » Thu Nov 10, 2011 6:54 am

I compiled lapack-3.3.1 from source and I got lapack.a. When I tried to link this lib to my applicaiton, it threw an error saying "zgetrf_ is missing" Any clue here
balson
 
Posts: 3
Joined: Thu Sep 29, 2011 7:04 am

Re: zgetrf_ is not found

Postby Julien Langou » Thu Nov 10, 2011 9:26 am

If you are calling zgetrf from fortran and use the same compiler, this is weird.
if you are calling zgetrf from C, the name of zgetrf in the lapack.a library might not be zgetrf_.
type something like: " nm lapack.a | grep -i zgetrf " and try to see what the symbol for zgetrf is, this is what you need to use in your C code
( another way is to use the lapacke wrapper , if configure correctly, it will do this automatically )
Julien Langou
 
Posts: 735
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA


Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 1 guest

cron