nvcc fatal : Unsupported gpu architecture 'compute_30'

20 views
Skip to first unread message

Technical Forex

unread,
Sep 5, 2020, 8:19:40 PM9/5/20
to MAGMA User
I use cuda11.0. it seems it doen't support the low architecture. and it gives me the following error. 
how to resolve this ?

nvcc fatal   : Unsupported gpu architecture 'compute_30'

Mark Gates

unread,
Sep 5, 2020, 8:49:36 PM9/5/20
to Technical Forex, MAGMA User
Set GPU_TARGET to the architecture of your card. The default includes Kepler, which causes this error with CUDA 11. See directions in the example make.inc files (e.g., make.inc-examples/make.inc.mkl-icc) or README files.

For example, if using make.inc with a Volta V100 card, set in make.inc:
GPU_TARGET = Volta

If using CMake:
cmake -DGPU_TARGET=Volta ..

Mark

--
Innovative Computing Laboratory
University of Tennessee, Knoxville

Technical Forex

unread,
Sep 5, 2020, 8:58:37 PM9/5/20
to MAGMA User, mga...@icl.utk.edu, MAGMA User, Technical Forex
Thanks, it works. but i met a new one. 

[ 14%] Building CXX object CMakeFiles/magma.dir/control/magma_znan_inf.cpp.o
f951: Fatal Error: Reading module ‘magma_zfortran’ at line 1108 column 18: Unexpected EOF
compilation terminated.
make[2]: *** [CMakeFiles/magma.dir/build.make:3162: CMakeFiles/magma.dir/control/magma.F90.o] Error 1


Reply all
Reply to author
Forward
0 new messages