HW8 How To: CUDA Profiling
Since you should NEVER run interactive jobs on the ME759 partition (for those of you who continue ignoring this rule, I may have to limit your access to the cluster), you need to generate the profiling data using the command line tool nvprof.
The following submit script should do the trick...
Once you've submitted and allowed this script to run, connect to euler using X11 Forwarding (for linux/mac users this is ssh -X username@euler.wacc.wisc.edu).
Open NVVP (username@euler ~$ nvvp &) and then go to File > Import and select your profiling_data.nvp.
That's it. If you have troubles running NVVP or nvprof, it might mean that you need to load the cuda environment variables. This can be accomplished with the command module load cuda which can be run on the command line, or appended to your ~/.bash_profile. If you are using a specific version of cuda with the module command (which is not what you were instructed to do in class) you may still experience problems.