On Mon, 25 Feb 2008, Helgi Tomasson wrote:
There is lapack in /usr/lib64 which is the same as in the one in
/usr/lib.
Maybe it's just me -- since I don't have first-hand experience
with any 64-bit system -- but I don't see how that statement can
be correct. As you say below, the size of "integer" (= long) is
not the same with -m32 and -m64, and the "integer" type is used in
all or almost all the lapack functions. So it seems to me that
the lapack in /usr/lib64 should be compiled with 8-byte longs, and
that in /usr/lib with 4-byte longs.
Have you tried specifically linking against liblapack and libblas
in /usr/lib64, i.e. doing
./configure --with-lapack-prefix=/usr/lib64
?
Allin.