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 fatal : Unsupported gpu architecture 'compute_20' #1918

Closed
dllen opened this issue Sep 28, 2017 · 10 comments
Closed

nvcc fatal : Unsupported gpu architecture 'compute_20' #1918

dllen opened this issue Sep 28, 2017 · 10 comments

Comments

@dllen
Copy link

dllen commented Sep 28, 2017

when install throws this error
nvcc fatal : Unsupported gpu architecture 'compute_20' make[2]: *** [cu-kernels.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ar -cru kaldi-tree.a event-map.o context-dep.o clusterable-classes.o cluster-utils.o build-tree-utils.o build-tree.o build-tree-questions.o tree-renderer.o

@galv
Copy link
Contributor

galv commented Sep 28, 2017 via email

@dllen
Copy link
Author

dllen commented Sep 28, 2017

Sorry, would you provide more information how can I fix it in detail? Thanks so much.

@galv
Copy link
Contributor

galv commented Sep 28, 2017 via email

@jtrmal
Copy link
Contributor

jtrmal commented Sep 28, 2017 via email

@jtrmal
Copy link
Contributor

jtrmal commented Sep 28, 2017 via email

@silvacarloss
Copy link

silvacarloss commented Mar 1, 2018

If the problem persists after removing the -gencode arch=compute_20,code=sm_20 line, try to erase the following file: /caffe/build/CMakeCache.txt and run cmake .. again. It worked for me.

@CodesFarmer
Copy link

U can remove the line -gencode arch=compute_20,code=sm_20 and -gencode arch=compute_20,code=sm_21 in Makefile.config.

@danpovey
Copy link
Contributor

I just pushed a change to remove compute_20 from the nvcc flags.

@BorisGudnov
Copy link

Deleting "-gencode arch=compute_20,code=sm_20 " doesn't work if you're using cmake to compile, as Makefile.config is not used (it's only used if you compile using make). The solution is to edit caffe/Cuda.cmake. On line 9 simply delete 20 21(20) from the list of GPU architectures.

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

8 participants