Can't start profiling using nsys launch, symbol lookup error

➜  target-linux-x64 nsys launch julia              
application launched
/usr/local/bin/julia: symbol lookup error: /opt/nvidia/nsight-systems/2021.3.3/target-linux-x64/libToolsInjectionProxy64.so: undefined symbol: __libc_dlclose, version GLIBC_PRIVATE

The target application returned non-zero exit code 127
No report generated: no data to collect

Could you share the distribution of the system, cat /etc/os-release ?

PRETTY_NAME=“Ubuntu 21.10”
NAME=“Ubuntu”
VERSION_ID=“21.10”
VERSION=“21.10 (Impish Indri)”
VERSION_CODENAME=impish
ID=ubuntu
ID_LIKE=debian
HOME_URL=“https://www.ubuntu.com/
SUPPORT_URL=“https://help.ubuntu.com/
BUG_REPORT_URL=“https://bugs.launchpad.net/ubuntu/
PRIVACY_POLICY_URL=“Data privacy | Ubuntu
UBUNTU_CODENAME=impish

➜ target-linux-x64 nvidia-smi
Tue Nov 2 20:41:44 2021
±----------------------------------------------------------------------------+
| NVIDIA-SMI 495.29.05 Driver Version: 495.29.05 CUDA Version: 11.5 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … On | 00000000:01:00.0 On | N/A |
| 23% 39C P8 12W / 120W | 1136MiB / 5910MiB | 20% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2381 G /usr/lib/xorg/Xorg 656MiB |
| 0 N/A N/A 2581 G /usr/bin/gnome-shell 213MiB |
| 0 N/A N/A 2863 G …mviewer/tv_bin/TeamViewer 1MiB |
| 0 N/A N/A 3596 G …AAAAAAAAA= --shared-files 214MiB |
| 0 N/A N/A 13002 G gnome-control-center 1MiB |
| 0 N/A N/A 18612 G …AAAAAAAAA= --shared-files 44MiB |
±----------------------------------------------------------------------------+

This issue will be resolved in the next Nsight Systems release, 2021.5.

Release is planned for the next couple of weeks.

1 Like

@ztasoulas @hwilper Still have same problem in April 2024.

I’m using Ubuntu 22.04 on WSL2.
I have installed newest CUDA Toolkit with following directions.

Latest CUDA Toolkit comes with old version of nsys.
NVIDIA Nsight Systems version 2021.3.2.12-9700a21

When next nsys release will be available after 2.5 years?

Thanks.

Following info is from nvidia-smi

$ nvidia-smi
Sun Apr 28 17:45:26 2024
±----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.14 Driver Version: 551.78 CUDA Version: 12.4 |
|-----------------------------------------±-----------------------±---------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 2070 On | 00000000:08:00.0 On | N/A |
| 0% 52C P5 20W / 175W | 1801MiB / 8192MiB | 37% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+

±----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
±----------------------------------------------------------------------------------------+

CORRECTION:
I have install stuffs with following directions (In Japanese)

$ pip installnvidia-pyindex
$ pip install nvidia-dlprof[pytorch]
$ pip installnvidia-tensorboard-plugin-dlprof

nvidia-pyindex · PyPI looks not maintained.

I noticed that DLProf which I wanted to use is now obsolete.

Yes, DLProf was end-of-lifed a while back. What are you trying to do? I might be able to get you the correct options in Nsight Systems.