libsvml.so is missing in intel-oneapi-runtime-opencl
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.
@intel/ocl-cpu-rt-write can you please take a look?
Yes. we will check it.
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!
This issue still persists on Ubuntu 22.04 when following install documentation