Hello. I’m very new to CUDA programming and have been attempting to debug my first substantial code. I want to use the “-G” option to nvcc to generate a debugging binary, but always get this message when attempting to do so:
nvcc -G -g cudainput.cu
gcc: /opt/nvidia/cuda/bin/ptxvars.cu: No such file or directory
gcc: warning: ‘-x c++’ after last input file has no effect
gcc: no input files
The same errors are present whether or not i also add -deviceemu to the compiler options. I’m running the 64-bit version of openSUSE 10.3, and /opt/nvidia/cuda is the cuda installation directory. I’ve tried looking through the documentation and searching this forum for why this problem occurs, but to no avail so far. Any help will be appreciated.