Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvcc Unsupported gpu architecture 'compute_20' #34

Open
j0hnw0rk3r opened this issue Dec 12, 2017 · 1 comment
Open

nvcc Unsupported gpu architecture 'compute_20' #34

j0hnw0rk3r opened this issue Dec 12, 2017 · 1 comment

Comments

@j0hnw0rk3r
Copy link

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

@asgs
Copy link

asgs commented Dec 21, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants