when's wrong with this?
Posted: 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
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