I followed http://math-atlas.sourceforge.net/atlas ... 0000000000 to compile ATLAS along with LAPACK. Everything worked out fine. I have CUDA installed along with the appropriate drivers. Now my problem is, when trying to make MAGMA, I get the following error
Code: Select all
../lib/libmagma.a(zgeev.o): In function `magma_zgeev':
zgeev.cpp:(.text+0xbdf): undefined reference to `cblas_dznrm2(int, void const*, int)'
libcblas.a and libcblas.so both generated by ATLAS exist. I even tried with nm and can see these functions defined.
Code: Select all
nm libmagma.a | grep cblas Code: Select all
U _Z11cblas_zscaliPKvPvi In case this is relevant, here is a snippet from my make.inc
Code: Select all
OPTS = -O3 -DADD_
FOPTS = -O3 -DADD_ -x f95-cpp-input
NVOPTS = --compiler-options -fno-strict-aliasing -DUNIX -O3 -DADD_
LDOPTS = -fPIC -Xlinker -zmuldefs
LIB = -lf77blas -latlas -lcblas -lcublas -lm -llapack