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
when's wrong with this?
-
Stan Tomov
- Posts: 283
- Joined: Fri Aug 21, 2009 10:39 pm
Re: when's wrong with this?
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
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
Re: when's wrong with this?
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