# Jax profiling libcupti.so error

**URL:** <https://forums.developer.nvidia.com/t/jax-profiling-libcupti-so-error/242929>\
**Category:** JAX\
**Created:** [February 15, 2023, 8:46am UTC](https://forums.developer.nvidia.com/t/jax-profiling-libcupti-so-error/242929 "2023-02-15T08:46:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakub.mitura14](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jakub.mitura14](https://forums.developer.nvidia.com/u/jakub.mitura14)\
**Post date:** [February 15, 2023, 8:46am UTC](https://forums.developer.nvidia.com/t/jax-profiling-libcupti-so-error/242929/1 "2023-02-15T08:46:52Z")

</div>

cross-referencing from discourse

Hello when I try to run jax profiling in container (jax:23.01-py3) I get

Could not load dynamic library ‘libcupti.so.11.8’; dlerror: libcupti.so.11.8: cannot open shared object file: No such file or directory; LD\_LIBRARY\_PATH: /usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda/compat/lib:/usr/local/nvidia/lib:/usr/local/nvidia/lib64

I tried to add to the docker file  
ENV LD\_LIBRARY\_PATH=/usr/local/cuda-11.8/lib64:$LD\_LIBRARY\_PATH

But no luck generally I can not find libcupti.so.11.8 anywhere - what could be done?

I had also seen if I am not mistaken that there is both CUDA 11.8 and CUDA 12 in usr/local - can it be the source of the problem

in /usr/local/cuda-12.0/lib64 I had found libcupti.so; libcupti.so.12 and libcupti.so.2022.4.1 but those do not satisfy requirements of the profiler

---

<div class="post-metadata">

**Author:** ![jakub.mitura14](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jakub.mitura14](https://forums.developer.nvidia.com/u/jakub.mitura14)\
**Post date:** [February 16, 2023, 6:02am UTC](https://forums.developer.nvidia.com/t/jax-profiling-libcupti-so-error/242929/2 "2023-02-16T06:02:50Z")

</div>

In my case adding to dockerfile

ENV LD\_LIBRARY\_PATH=/usr/local/cuda-12.0/NsightSystems-cli-2022.5.1/target-linux-x64:$LD\_LIBRARY\_PATH

solved the problem

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [March 2, 2023, 6:03am UTC](https://forums.developer.nvidia.com/t/jax-profiling-libcupti-so-error/242929/3 "2023-03-02T06:03:26Z")

</div>

Closed on March 2, 2023, 6:03am UTC

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