oneMKL icon indicating copy to clipboard operation
oneMKL copied to clipboard

error while loading shared libraries: libonemkl.so.0: cannot open shared object file: No such file or directory

Open ManjulaChalla opened this issue 3 years ago • 2 comments

Hi,

I executed SYCL application on NVIDIA GPU which is having oneMKL library. I built the open source MKL library for NVIDIA GPU's. The code is generating an output, i didn't get a problem there.

But while profiling the SYCL application using NVIDIA Nsight compute, I have the below error. error while loading shared libraries: libonemkl.so.0: cannot open shared object file: No such file or directory ==ERROR== The application returned an error code (127). ==WARNING== No kernels were profiled.

As a workaround, i even tried locate libonemkl.so.0 and copied it to current directory.But still the profiling part didn't work. I Screenshot 2022-08-22 150708

ManjulaChalla avatar Aug 22 '22 09:08 ManjulaChalla

Hi @ManjulaChalla! It looks like the profiling tool limitation. As I see on different forums users recommend adding a symbolic link in your project's root directory to the shared libraries that you need or install oneMKL as User Guide recommends to do for GUI libraries in case of such error here

mkrainiuk avatar Aug 22 '22 20:08 mkrainiuk

@ManjulaChalla Can this issue/question be closed now? Do you have any other questions?

mmeterel avatar Jan 09 '23 20:01 mmeterel

The question was answered and there hasn't been any activity in a long time so closing.

Rbiessy avatar Jul 11 '24 10:07 Rbiessy