Hi,
I am trying to use the latest Nsight Compute GUI (2022.2.0) to connect to the remote Linux server on my MacOS. Surely I can directly connect to this a100 machine with ssh -p xxxx username@xxx.xxx.xx.xx
. The problem is that I cannot connect to the process as shown below
I used the Interactive Profile, and I also took some attempts in the console of the a100 machine. The binary ./a.out
works well. If I simply run ncu ./a.out
, everything is fine. But when I tried ncu --mode=launch ./a.out
, it will stuck in ==PROF== Waiting for profiler to attach on ports 49152-49215.
When stuck here, I checked the port 49152 with lsof and it shows like this
The lsof command in other time would return null except when I am stuck in waiting. I also tried other ports just as suggested but they also behaved the same. Note that I do not have the sudo privilege. I don’t know if this is a port conflict problem or connection failure or just because I do not have the Administration permission? Or did I just miss something?
Could anyone please give me some advice? Thanks a lot.