llvm icon indicating copy to clipboard operation
llvm copied to clipboard

libsvml.so is missing in intel-oneapi-runtime-opencl

Open ProjectPhysX opened this issue 1 year ago • 4 comments

The installation page for the OpenCL CPU runtime instructs the following:

wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt update
sudo apt install -y intel-oneapi-runtime-opencl

On a fresh Ubuntu Server 23.04 installation, this broken however, with the error that libsvml.so is missing. This error shows up when starting any OpenCL application. Further, it breaks any other existing OpenCL runtime installation, like for Nvidia GPUs.

Additional installation of

sudo apt install -y intel-oneapi-runtime-libs

is required to fix the issue.

Please add the missing library/dependency to intel-oneapi-runtime-opencl, or at least update documentation that intel-oneapi-runtime-libs is required too.


A similar issue affects the standalone OpenCL CPU runtime installer on Windows, it is currently broken and the older working version is not available for download anymore. This should be fixed in the released executable, rather than directing users to mess with the registry in the Known Issues.

ProjectPhysX avatar Jan 30 '24 15:01 ProjectPhysX

@intel/ocl-cpu-rt-write can you please take a look?

dm-vodopyanov avatar Jan 30 '24 15:01 dm-vodopyanov

Yes. we will check it.

cdai2 avatar Jan 31 '24 00:01 cdai2

I just encountered this problem as well on Ubuntu 22.04. (There were a few other missing libraries, libirng.so, libimf.so, and libintlc.so.5). Like ProjectPhysX said, not only did it prevent use of OpenCL on Intel CPUs, it prevented OpenCL programs from being compiled for use with any other OpenCL implementations.

Installing intel-oneapi-runtime-libs indeed fixed the problem!

jhod0 avatar Jul 01 '24 18:07 jhod0

This issue still persists on Ubuntu 22.04 when following install documentation

ChrisFischer-MTA avatar Jun 08 '25 23:06 ChrisFischer-MTA