Nvcc preprocessing failed

Hi, I tried my own data and get the following error. Does anybody know how to fix it? Thanks, Xiang

CompileError: nvcc preprocessing of /tmp/tmplPkTXV.cu failed
[command: nvcc --preprocess -arch sm_61 -I/opt/cryosparc/anaconda2/lib/python2.7/site-packages/pycuda/cuda /tmp/tmplPkTXV.cu --compiler-options -P]
nvcc fatal : Value ‘sm_61’ is not defined for option ‘gpu-architecture’


I had exactly the same error with CUDA 7.5 - fixed by updating CUDA to 8.0

Good luck,


Thanks, I tried with CUDA8.0, still failed.


A similar issue was brought up on our GitHub issue tracker, check it out.

Hope that helps!