Closed GoogleCodeExporter closed 9 years ago
Ok. The problem is related the compute capability flag in the make procedure.
Your board GTX580 supports only the compute capability 2.0. So you must edit
the src/Makefile.am and replace the line:
GENCODE_FLAGS= $(GENCODE_SM10) $(GENCODE_SM20) $(GENCODE_SM30)
with the new line:
GENCODE_FLAGS= $(GENCODE_SM20)
then redo the ./configure and make.
Sorry for the problem.
Original comment by luck87
on 5 Sep 2013 at 8:14
Hi, sorry to disturb, but I did as instructed and changed the GENCODE_FLAGS
line, but am still receiving the same "compute_30" error.
I'm using the same nvcc version. The output is as follows.
make all-recursive
make[1]: Entering directory `/home/michael/Downloads/truecrack'
Making all in src
make[2]: Entering directory `/home/michael/Downloads/truecrack/src'
make[3]: Entering directory `/home/michael/Downloads/truecrack'
make[3]: Leaving directory `/home/michael/Downloads/truecrack'
cat Cuda/Core.cu > Cuda.cu
cat Cuda/Pkcs5.cu >> Cuda.cu
cat Cuda/Aes.cu >> Cuda.cu
cat Cuda/Serpent.cu >> Cuda.cu
cat Cuda/Twofish.cu >> Cuda.cu
cat Cuda/Crypto.cu >> Cuda.cu
cat Cuda/Xts.cu >> Cuda.cu
cat Cuda/Rmd160.alternative.cu >> Cuda.cu
cat Cuda/Sha2.cu >> Cuda.cu
cat Cuda/Whirlpool.cu >> Cuda.cu
nvcc -c Cuda.cu -g -I./Common/ -I./Crypto/ -I./Cuda/ -I./Main/ -I./
-I/usr/local/cuda/include/ -D_GPU_ -gencode arch=compute_10,code=sm_10
-gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30
-gencode arch=compute_35,code=sm_35 -ftz=true -use_fast_math --opencc-options
-OPT:Olimit=0 -o Cuda.o
make[2]: Leaving directory `/home/michael/Downloads/truecrack/src'
make[1]: Leaving directory `/home/michael/Downloads/truecrack'
I'm running Ubuntu 12.04.3 64 bit, and attempting to use Truecrack 3.5
Thank you for your time.
Original comment by oomunch...@gmail.com
on 23 Dec 2013 at 11:50
You must set only the compute architecture supported by your nvidia board:
GTX580 supportes 2.0 and doesn't support 3.0/3.5
http://en.wikipedia.org/wiki/CUDA
You can use only che flags: -gencode arch=compute_20,code=sm_20
Original comment by luck87
on 24 Dec 2013 at 3:24
Original issue reported on code.google.com by
bastian.jordan507
on 3 Sep 2013 at 9:03