KlausT / ccminer-cryptonight

Software for mining various cryptocoins, like Monero (pool mining only)
GNU General Public License v3.0
133 stars 30 forks source link

Unsupported gpu architecture 'compute_60' #38

Open rainder opened 6 years ago

rainder commented 6 years ago

Can I run it on NVIDIA Tesla K80?

make[2]: Entering directory '/root/ccminer-cryptonight'
nvcc -g -O2 -I . -D_FORCE_INLINES -I/usr/local/cuda/include -gencode=arch=compute_20,code=sm_20 -gencode=arch=compute_20,code=sm_21 -gencode=arch=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_50,code=sm_50  -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61 --maxrregcount=128 --ptxas-options=-v  -o cryptonight/cryptonight.o -c cryptonight/cryptonight.cu
nvcc fatal   : Unsupported gpu architecture 'compute_60'
Makefile:1152: recipe for target 'cryptonight/cryptonight.o' failed
make[2]: *** [cryptonight/cryptonight.o] Error 1
make[2]: Leaving directory '/root/ccminer-cryptonight'
Makefile:726: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/ccminer-cryptonight'
Makefile:396: recipe for target 'all' failed
make: *** [all] Error 2
KlausT commented 6 years ago

Yes, it should run. It's a sm_37 card, I think. When you compile it with CUDA 7.5 you have to remove the "-gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_61,code=sm_61" in the Makefile.am