Launching Conda environment + Python for Cuda profiling

Hello,

I am trying to profile my CUDA application with NSight Compute UI. While I can find examples of how to run a simple executable, I am now trying to use it with Python as PyCuda is what is calling my code. To further complicate the, I am using a Conda environment as well.

Under the “Start Activity” page, I am trying to use the following:
Application Executable: /home/memo/miniconda3/envs/custom_env/bin/python /home/memo/bt/gpu.py

Error I get: /home/memo/miniconda3/envs/custom_env/bin/python /home/memo/bt/gpu.py does not exist or is not an executable. Please make sure the absolute path '...'

Question: How do I correctly specify both the Conda environment to activate (custom_env) + call python to launch?

I was unable to find a good example / documentation on launching a python setup.

Thanks!

@jcnelson2185 Please note that Nsight Compute related questions should be posted at Nsight Compute - NVIDIA Developer Forums

@veraj FYI

Move to “Nsight Compute”.

@jcnelson2185

Are you launching Nsight Compute UI in the conda environment?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.