Open discussion for MAGMA
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
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: 483
- Joined: Fri Jan 06, 2012 2:13 pm
Return to User discussion
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 2 guests