Everytime I link magma with -lmagma, I get the following:
icpc magmatest.cpp -o magmatest -I../magma-1.2.0/include -L../magma-1.2.0/lib -lmagma -I/afs/crc.nd.edu/x86_64_linux/cuda/4.0/cuda/include/
/tmp/icpcLhuArI.o: In function `main':
magmatest.cpp:(.text+0xea): undefined reference to `magma_dsyev'
I used make.inc.mkl to compile Magma. I am trying to write a simple C++ file which calls Magma to diagonalize a matrix.
Has anyone had this problem? I had the same issue when I used make.inc.atlas. But libmagma.a is clearly there and when I do a grep on magma_dsyev, it is in libmagma.a.