my guess would be that this is due to the use of sudo. sudo does not necessarily pick up the PATH and LD_LIBRARY_PATH variables that you expect.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Using nvprof with warning of "The path to cupti library might not be set in LD_LIBRARY_PATH" | 2 | 577 | March 28, 2022 | |
| [Closed] CUDA 10.1 nvprof removed LD_LIBRARY_PATH environment variable | 3 | 1245 | October 14, 2019 | |
| nvprof not working in Ubuntu 12.04 | 6 | 6670 | June 11, 2013 | |
| Visual Profiler : Unable to Load CUDA Library Visual Profiler error in Ubuntu | 10 | 16706 | July 30, 2009 | |
| Visual Profiling error while start new session | 4 | 2719 | January 24, 2022 | |
| Nvprof not working on win10 cuda10.2 | 2 | 4397 | May 26, 2020 | |
| Profiling only partially works | 10 | 1574 | July 21, 2020 | |
| Nvprof error: cupti64_2020.1.0.dll was not found | 1 | 4158 | June 26, 2020 | |
| NVIDIA Visual Profiler is unable to profile application | 8 | 11248 | March 31, 2021 | |
| CUDA visual profiler on OS X: unable to load cuda library ? | 5 | 7578 | September 9, 2010 |