Undefined symbol magma_dsyevd?

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)

Undefined symbol magma_dsyevd?

Postby movingpictures83 » Thu Jun 14, 2012 3:41 pm

Somehow magma_dsyevd is undefined for me. Anyone seen this before?

g++ magmatest.cpp -I/afs/crc.nd.edu/user/t/tcickovs/Research/MAGMA/include/ -L/afs/crc.nd.edu/user/t/tcickovs/Research/MAGMA/lib/ -lmagma -I/afs/crc.nd.edu/x86_64_linux/cuda/4.0/cuda/include/ -o magmatest
/tmp/ccoTwIom.o: In function `main':
magmatest.cpp:(.text+0x10b): undefined reference to `magma_dsyev'
collect2: ld returned 1 exit status

I wrote a simple test code magmatest.cpp to compute eigenvalues of a matrix. I used make.inc.atlas.
Posts: 2
Joined: Thu Jun 14, 2012 3:37 pm

Re: Undefined symbol magma_dsyevd?

Postby mgates3 » Mon Jun 18, 2012 2:31 pm

There is no function magma_dsyev. Try using magma_dsyevd.

Also, you will need to add additional libraries to get everything to compile. In particular, magmablas, CUDA libraries, some BLAS and LAPACK library (e.g., ATLAS or MKL). See the example Makefile in the magma/testing directory.

Posts: 782
Joined: Fri Jan 06, 2012 2:13 pm

Return to User discussion

Who is online

Users browsing this forum: No registered users and 4 guests