I am trying compile testing_ssyevd.cpp from Magma and i get this error
I use the next command lines
gcc -O3 -DADD_ -DGPUSHMEM=200 -I/usr/local/cuda/src/ -I/usr/local/cuda/include -I../include -c testing_ssyevd.cpp -o testing_ssyevd.o
gcc -O3 -DADD_ -DGPUSHMEM=200 -fPIC -Xlinker -zmuldefs -DGPUSHMEM=200 testing_ssyevd.o -o testing_ssyevd -L../lib -lcuda -L/home/ronald/magma-1.2.0/lib/ -lmagma -lmagmablas -lmagma -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib -L/usr/local/cuda/include -L/usr/local/atlas/include -L/home/ronald/lapack-3.4.1/BLAS -lf2c -lgfortran -lstdc++ -lpthread -lblas -lcublas -lcudart -latlas -lsatlas -lf77blas -ldl -lm
And i get the next error:
testing_ssyevd.cpp:(.text+0x2cf): undefined reference to `slarnv_'
testing_ssyevd.cpp:(.text+0x2f1): undefined reference to `slacpy_'
testing_ssyevd.cpp:(.text+0x37c): undefined reference to `slacpy_'
testing_ssyevd.cpp:(.text+0x468): undefined reference to `ssyevd_'
testing_ssyevd.cpp:(.text+0x5e8): undefined reference to `ssyt21_'
testing_ssyevd.cpp:(.text+0x60a): undefined reference to `slacpy_'
../lib/libmagma.a(ssyevd.o): In function `magma_ssyevd':
ssyevd.cpp:(.text+0x149): undefined reference to `ssyevd_'
ssyevd.cpp:(.text+0x364): undefined reference to `slansy_'
ssyevd.cpp:(.text+0x3e1): undefined reference to `slascl_'
ssyevd.cpp:(.text+0x4ad): undefined reference to `ssterf_'
ssyevd.cpp:(.text+0x65a): undefined reference to `slacpy_'
../lib/libmagma.a(sstedx.o): In function `magma_sstedx':
sstedx.cpp:(.text+0x2e7): undefined reference to `ssteqr_'
sstedx.cpp:(.text+0x39e): undefined reference to `slaset_'
sstedx.cpp:(.text+0x3c8): undefined reference to `slanst_'
sstedx.cpp:(.text+0x54c): undefined reference to `slanst_'
sstedx.cpp:(.text+0x5a3): undefined reference to `slascl_'
sstedx.cpp:(.text+0x602): undefined reference to `slascl_'
sstedx.cpp:(.text+0x6e0): undefined reference to `slascl_'
sstedx.cpp:(.text+0x75b): undefined reference to `ssteqr_'
sstedx.cpp:(.text+0x8aa): undefined reference to `slascl_'
sstedx.cpp:(.text+0x8ec): undefined reference to `slascl_'
sstedx.cpp:(.text+0x99d): undefined reference to `slascl_'
../lib/libmagma.a(slaex0.o): In function `magma_slaex0':
slaex0.cpp:(.text+0x1db): undefined reference to `ssteqr_'
slaex0.cpp:(.text+0x5f7): undefined reference to `slacpy_'
../lib/libmagma.a(slaex3.o): In function `magma_slaex3':
slaex3.cpp:(.text+0x418): undefined reference to `slaed4_'
slaex3.cpp:(.text+0x487): undefined reference to `slamrg_'
slaex3.cpp:(.text+0x7e8): undefined reference to `slacpy_'
slaex3.cpp:(.text+0x8e0): undefined reference to `slacpy_'
slaex3.cpp:(.text+0xcbb): undefined reference to `slaset_'
slaex3.cpp:(.text+0xd17): undefined reference to `slaset_'
../lib/libmagma.a(slaed2.o): In function `magma_slaed2_':
slaed2.f:(.text+0x1ff): undefined reference to `slamrg_'
slaed2.f:(.text+0x3cb): undefined reference to `slacpy_'
slaed2.f:(.text+0x631): undefined reference to `slapy2_'
slaed2.f:(.text+0xeb1): undefined reference to `slacpy_'
../lib/libmagma.a(ssytrd.o): In function `magma_ssytrd':
ssytrd.cpp:(.text+0x553): undefined reference to `ssytrd_'
ssytrd.cpp:(.text+0x878): undefined reference to `ssytd2_'
../lib/libmagma.a(slatrd.o): In function `magma_slatrd':
slatrd.cpp:(.text+0x115): undefined reference to `slarfg_'
slatrd.cpp:(.text+0x621): undefined reference to `slarfg_'
../lib/libmagma.a(sormqr.o): In function `magma_sormqr':
sormqr.cpp:(.text+0x825): undefined reference to `sormqr_'
../lib/libmagma.a(sormql.o): In function `magma_sormql':
sormql.cpp:(.text+0x816): undefined reference to `sormql_'
collect2: ld returned 1 exit status
Anybody can help me? Maybe i've forgotten any library ..i dont know
Tanhks in advance