ccminer-cryptonight
ccminer-cryptonight copied to clipboard
nvcc Unsupported gpu architecture 'compute_20'
Hello,
I'm building this on Ubuntu 16.04 xenial x64, with CUDA 9, and Teska K80 GPU.
When I try running make
it gives me this error:
user@test-gpu:~/ccminer-cryptonight$ make make all-recursive make[1]: Entering directory '/home/user/ccminer-cryptonight' Making all in compat make[2]: Entering directory '/home/user/ccminer-cryptonight/compat' Making all in jansson make[3]: Entering directory '/home/user/ccminer-cryptonight/compat/jansson' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/user/ccminer-cryptonight/compat/jansson' make[3]: Entering directory '/home/user/ccminer-cryptonight/compat' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/user/ccminer-cryptonight/compat' make[2]: Leaving directory '/home/user/ccminer-cryptonight/compat' make[2]: Entering directory '/home/user/ccminer-cryptonight' nvcc -g -O2 -I . -Xptxas "-abi=no -v" -gencode=arch=compute_20,code=\"sm_20,compute_20\" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --maxrregcount=80 --ptxas-options=-v -I./compat/jansson -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu nvcc fatal : Unsupported gpu architecture 'compute_20' Makefile:1155: recipe for target 'cryptonight/cryptonight.o' failed make[2]: *** [cryptonight/cryptonight.o] Error 1 make[2]: Leaving directory '/home/user/ccminer-cryptonight' Makefile:729: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/user/ccminer-cryptonight' Makefile:399: recipe for target 'all' failed make: *** [all] Error 2
Please advise on how to proceed with my build. Thank you
Per this page on Matching SM architectures (CUDA arch and CUDA gencode) for various NVIDIA cards, the arch is compute_30. Might want to change it and retry