I am running Ubuntu-8.10 with gcc: version 4.3.2.
I tried to do a 'make' from within the (MAGMA_DIR)/testing, and it returned with the following error:
- Code: Select all
gcc -fPIC testing_spotrf.o -o testing_spotrf -L../lib \
-lcuda -lmagma -lmagmablas -L/home/gaurav/intel/mkl/10.0.1.014/lib/em64t -L/usr/local/cuda/lib -lmkl_em64t -lguide -lpthread -lcublas -lm get_nb.cpp
/usr/bin/ld: skipping incompatible ../lib/libmagma.a when searching for -lmagma
/usr/bin/ld: cannot find -lmagma
collect2: ld returned 1 exit status
make: *** [testing_spotrf] Error 1
I also tried linking one object file at a time with gcc:
- Code: Select all
gcc -L../lib -lmagma -lmagmablas testing_cpotrf.o
I received a similar error:
- Code: Select all
/usr/bin/ld: skipping incompatible ../lib/libmagma.a when searching for -lmagma
/usr/bin/ld: cannot find -lmagma
collect2: ld returned 1 exit status
I am not sure why does this error show up. Any ideas?
Thanks!
Gaurav
