MAGMA 2.4 Compilation Errors...
Posted: Thu Aug 23, 2018 1:55 am
1. How can I select my specific GPU architecture?
There is an option:
GPU_TARGET Maxwell
However, when I tried to build MAGMA2.4, arch sm_50 is chosen by default, but I'm sure my GPU is of sm_52 .
2. testing faile
There seems to NOWHERE for me to untick TEST.
MAGMA2.4 stops building with the following ERROR messages:
Can anybody give me a hand please?
Cheers
Pei
There is an option:
GPU_TARGET Maxwell
However, when I tried to build MAGMA2.4, arch sm_50 is chosen by default, but I'm sure my GPU is of sm_52 .
Code: Select all
-gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_502. testing faile
There seems to NOWHERE for me to untick TEST.
MAGMA2.4 stops building with the following ERROR messages:
Code: Select all
[ 62%] Linking CXX executable sparse/testing/testing_csptrsv
/usr/bin/cmake -E cmake_link_script CMakeFiles/testing_csptrsv.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++11 -fopenmp -Wall -Wno-unused-function -O3 -DNDEBUG -rdynamic CMakeFiles/testing_csptrsv.dir/sparse/testing/testing_csptrsv.cpp.o -o sparse/testing/testing_csptrsv -Wl,-rpath,/usr/lib/x86_64-linux-gnu/lapack:/usr/local/cuda/lib64 lib/libtester.a lib/liblapacktest.a lib/libmagma.a lib/libmagma_sparse.a lib/libmagma.a /usr/local/cuda/lib64/libcudart_static.a -lpthread -ldl -lrt /usr/lib/x86_64-linux-gnu/lapack/liblapack.so /usr/local/cuda/lib64/libcudart.so /usr/local/cuda/lib64/libcublas.so /usr/local/cuda/lib64/libcublas_device.a /usr/local/cuda/lib64/libcusparse.so -lgfortran -lquadmath
/usr/bin/x86_64-linux-gnu-ld: lib/libmagma.a(slaex0.cpp.o): undefined reference to symbol 'scopy_'
/usr/lib/x86_64-linux-gnu/libblas.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/testing_csptrsv.dir/build.make:109: recipe for target 'sparse/testing/testing_csptrsv' failed
make[2]: *** [sparse/testing/testing_csptrsv] Error 1
make[2]: Leaving directory '....../magma-2.4.0/build'
CMakeFiles/Makefile2:193: recipe for target 'CMakeFiles/testing_csptrsv.dir/all' failed
make[1]: *** [CMakeFiles/testing_csptrsv.dir/all] Error 2
make[1]: Leaving directory '....../magma-2.4.0/build'
Makefile:132: recipe for target 'all' failed
make: *** [all] Error 2
Can anybody give me a hand please?
Cheers
Pei