clapack and la_geev

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

clapack and la_geev

Postby toobaz » Sat Mar 17, 2007 7:44 am

I used clapack for the first time 2 days ago, and since I'm fighting with it, browsing the web for clarifications...

I tested it with dgesv_ and all is fine.
I need to use la_geev, that I already used in lapack under Fortran 99.

But if I try to compile, i get the following error:
undefined reference to `la_geev_'

So I took a look to file /usr/include/clapack.h (I'm working in an Ubuntu 6.10 environment), and I found no declaration not only for la_geev but even for other important lapack routines.

The only thing I can imagine is that clapack is an "f2c'ed AND MUCH SHRINKED version of lapack"... but I found nothing about it on the web.

Am I missing something?

Pietro Battiston
toobaz
 
Posts: 2
Joined: Sat Mar 17, 2007 7:32 am
Location: Pisa, Italy

Partially solved

Postby toobaz » Sat Mar 17, 2007 8:04 am

OK, I partially understood my error: f99 routines that I used in the past have different names from the f77 ones, and clapack depends on original f77 routines, right?

So for example if I use "dgeev_" instead of "la_geev_" I have no errors in compilation.

But still I am guessing: nothing similar to "geev" appears in clapack.h; so where is the declaration of "dgeev_" taken by the compiler?

Pietro Battiston
toobaz
 
Posts: 2
Joined: Sat Mar 17, 2007 7:32 am
Location: Pisa, Italy

Postby Piotr Luszczek » Tue Mar 20, 2007 11:09 am

The clapack.h from:
http://netlib.org/clapack/clapack.h

has declaration for dgeev_.

Which clapack.h are you using?
Piotr Luszczek
 
Posts: 8
Joined: Wed Dec 08, 2004 8:23 pm
Location: Knoxville, TN, USA


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 7 guests