I'm trying to install the magma 1.0 RC5 library on my Ubuntu 10.04 LTS x64 but i have this error while compiling :
- Code: Select all
gcc -O3 -DADD_ -DGPUSHMEM=200 -fPIC -Xlinker -zmuldefs -DGPUSHMEM=200 testing_zpotrf.o -o testing_zpotrf lin/liblapacktest.a -L../lib \
-lcuda -lmagma -lmagmablas -lmagma -L/usr/local/ATLAS/lib -L/usr/local/CLAPACK-3.2.1/F2CLIBS/ -L/usr/local/cuda/lib64 /usr/local/CLAPACK-3.2.1/lapack_LINUX.a -lf77blas -latlas -lcblas -lf2c -lcublas -lcudart -lm
/usr/local/CLAPACK-3.2.1/lapack_LINUX.a(zpotrf.o): In function `zpotrf_':
zpotrf.c:(.text+0x263): undefined reference to `f2c_zherk'
zpotrf.c:(.text+0x368): undefined reference to `f2c_zgemm'
zpotrf.c:(.text+0x3e7): undefined reference to `f2c_ztrsm'
zpotrf.c:(.text+0x4dc): undefined reference to `f2c_zherk'
zpotrf.c:(.text+0x60b): undefined reference to `f2c_zgemm'
zpotrf.c:(.text+0x684): undefined reference to `f2c_ztrsm'
/usr/local/CLAPACK-3.2.1/lapack_LINUX.a(zpotf2.o): In function `zpotf2_':
zpotf2.c:(.text+0x1fc): undefined reference to `f2c_zdotc'
zpotf2.c:(.text+0x36b): undefined reference to `f2c_zgemv'
zpotf2.c:(.text+0x3d7): undefined reference to `f2c_zdscal'
zpotf2.c:(.text+0x520): undefined reference to `f2c_zdotc'
zpotf2.c:(.text+0x68f): undefined reference to `f2c_zgemv'
zpotf2.c:(.text+0x6fb): undefined reference to `f2c_zdscal'
collect2: ld returned 1 exit status
make[1]: *** [testing_zpotrf] Erreur 1
rm testing_zpotrf.o
make[1]: quittant le répertoire « /usr/local/magma_1.0.0-rc5/testing »
make: *** [test] Erreur 2
CLAPACK compiled without errors, but i don't understand why functions are missing.
I used the makefile given in the archive.
Thanks.