I have used Nsight on Windows, but am new to the Linux implementation. (Microsoft’s evil empire may be many things, but at least they assimilated a very user friendly IDE…)
I am running into some very basic problems, and was was hoping someone has some insight on how to fix them.
- Is it possible to run the profiler and debugger from a head node that does not have a GPU?
We have a cluster with 16 GPU nodes on remote machines, but they are called as needed by the main processing task.
When I try and profile or debug test code, I am getting an error that says no GPU found.
- The main code is a rather convoluted set mix of C++/C and XML that has been mixed together for the past 20 years. All glued together with CMake
.
In order to run it, a script must be called and an mpirun command executed.
How do you change the ‘Run’ button in the IDE to:
a) Execute a series of ‘shell’ commands? ( e.g. mpirun, bash scripts)
b) Make the execution directory a specific location?
The mpi_hostfile and other configuration files use paths relative to the starting directory, and each user will have his own configuration. (Hard-coding paths might work, but would not be a preferable solution.)
Thank you for any help or direction to relevant threads.