when's wrong with this?

Open discussion for MAGMA

when's wrong with this?

Postby lisqu » Wed Apr 14, 2010 12:31 pm

I tried to make the magma testing, but an error happened.

gfortran -fPIC testing_sgeqrf.o -o testing_sgeqrf lin/liblapacktest.a -L../lib \
-lcuda -lmagma -lmagmablas -L/opt/intel/mkl/10.2.4.032/lib/32 -L/usr/local/cuda/lib -lmkl_sequential -lmkl_intel -lmkl_core -lguide -lpthread -lcublas -lm get_nb.cpp
/usr/bin/ld: i386:x86-64 architecture of input file `lin/liblapacktest.a(sqrt02.o)' is incompatible with i386 output
lin/liblapacktest.a(sqrt02.o): In function `sqrt02_':
sqrt02.f:(.text+0xb5): undefined reference to `_gfortran_copy_string'
collect2: ld returned 1 exit status

I use the 32bit version magma, and mkl 10.2.
How can I fix this error? thanks
lisqu
 
Posts: 2
Joined: Wed Apr 14, 2010 12:26 pm

Re: when's wrong with this?

Postby Stan Tomov » Wed Apr 14, 2010 1:06 pm

Now I see we have shipped 64-bit liblapacktest.a with the distribution. Hopefully, all you have to do is go to testing/lin/ and do
make clean all
to regenerate it in 32-bit for your system and everything else should be fine. Please let me know if this didn't work.
Thanks,
Stan
Stan Tomov
 
Posts: 251
Joined: Fri Aug 21, 2009 10:39 pm

Re: when's wrong with this?

Postby lisqu » Thu Apr 15, 2010 1:13 am

OK, it works. thank you very much.
Stan Tomov wrote:Now I see we have shipped 64-bit liblapacktest.a with the distribution. Hopefully, all you have to do is go to testing/lin/ and do
make clean all
to regenerate it in 32-bit for your system and everything else should be fine. Please let me know if this didn't work.
Thanks,
Stan
lisqu
 
Posts: 2
Joined: Wed Apr 14, 2010 12:26 pm


Return to User discussion

Who is online

Users browsing this forum: Bing [Bot], Noran and 2 guests