LAPACK Archives

[Lapack] lapack 32bit ?

Thank you for your reply!

Perhaps I was a bit unclear earlier... The error of course occurred 
while compiling another program, but the reason for this is that my 
LAPACK is 64bit.
How do I compile LAPACK in 32 bits?

Thank you for your help!

-Fredrik


On 8/3/2010 8:18 PM, julie langou wrote:
Frederik,
you can just install LAPACK and compile it in 32 bits.
or you can use g++ -m64 . That would compile and  link in 64 bits.
Regards,
Julie
On Aug 3, 2010, at 8:15 AM, Fredrik Hollsten wrote:

Hi,

I have this problem when compiling lapack on 32bit ubuntu:

g++ -L/usr/lib -lXext -lX11 -ljpeg -lm -lpthread -llapack -lgsl
-lgslcblas -o pmvs2 pmvs2.o camera.o image.o photo.o photoSetS.o
detectFeatures.o detector.o dog.o expand.o filter.o findMatch.o harris.o
optim.o option.o patch.o patchOrganizerS.o point.o seed.o mylapack.o
-L/usr/lib -lXext -lX11 -ljpeg -lm -lpthread -llapack -lgsl -lgslcblas
/usr/bin/ld: skipping incompatible /usr/lib/liblapack.so when searching
for -llapack
/usr/bin/ld: skipping incompatible /usr/lib/liblapack.so when searching
for -llapack
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/liblapack.so when
searching for -llapack
/usr/bin/ld: skipping incompatible /usr/lib/../lib/liblapack.so when
searching for -llapack
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/i486-linux-gnu/4.4.3/../../../liblapack.so when searching
for -llapack
/usr/bin/ld: skipping incompatible /usr/lib/liblapack.so when searching
for -llapack
/usr/bin/ld: cannot find -llapack


Apparently it is because liblapack.so is 64bit and the system is 32bit.
How do I solve this problem?

Thank you very very much!


Br,
 Fredrik Hollsten
_______________________________________________
Lapack mailing list
Lapack at cs.utk.edu <mailto:Lapack at cs.utk.edu>
http://lists.eecs.utk.edu/mailman/listinfo/lapack

**********************************************
Julie Langou; Research Associate in Computer Science
Innovative Computing Laboratory;
University of Tennessee from Denver, Colorado ;-)
julie at cs.utk.edu <mailto:julie at cs.utk.edu>; 
http://www.cs.utk.edu/~julie/ <http://www.cs.utk.edu/%7Ejulie/>








-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.eecs.utk.edu/mailman/private/lapack/attachments/20100804/4448ae87/attachment.html
 

<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or