ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
Other
116 stars 44 forks source link

error while loading shared libraries: libhsa-runtime64.so.1: cannot open shared object file: No such file or directory #62

Open shana34 opened 2 years ago

shana34 commented 2 years ago

I follow the guide in README, and get this...which confuse me a lot

vasslavich commented 2 years ago

I have the same problem. Is there any workaround?

kikimych commented 2 years ago

You can try to set LD_LIBRARY_PATH to /opt/rocm/lib explicitly. Which version of rocm are you using?

kahmed10 commented 2 years ago

You can try to set LD_LIBRARY_PATH to /opt/rocm/lib explicitly. Which version of rocm are you using?

I found libhsa-runtime64.so.1 under /opt/rocm/hsa/lib, and setting LD_LIBRARY_PATH to that location fixed the issue for me. I'm on ROCm 5.0.