Intel oneAPI Runtime Common Libraries
The `intel-cmplr-lib-rt` package provides shared common runtime libraries essential for deploying executables compiled with Intel® oneAPI development Toolkits on systems without the full toolkits installed. It is a low-level runtime component, not a Python library with a direct Python API. Its current version is 2025.3.3, with releases generally tied to Intel oneAPI toolkit updates.
Warnings
- gotcha This library does not provide a direct Python API. It is a collection of native runtime libraries for executables compiled with Intel oneAPI compilers. Expecting Python-level imports or functionality will lead to confusion.
- gotcha Proper environment variable setup (e.g., `LD_LIBRARY_PATH` on Linux, `PATH` on Windows) is crucial for applications to find these runtime libraries at execution. Failing to set these can result in 'library not found' errors, even if the package is installed via pip.
- breaking Breaking changes in the underlying Intel compilers or oneAPI toolkits (e.g., deprecated compiler flags, removal of support for older hardware like Intel Xeon Phi) can indirectly affect executables that depend on `intel-cmplr-lib-rt`. Users might encounter issues if their applications were built with older compiler versions or target deprecated hardware features.
- gotcha This package is often a component of a larger Intel oneAPI installation. For a complete and correctly configured runtime environment, it should typically be installed alongside `intel-cmplr-lic-rt` and one or more compiler-specific runtime packages (e.g., `intel-sycl-rt`). Missing these companion packages can lead to incomplete runtime environments.
Install
-
pip install intel-cmplr-lib-rt
Quickstart
# The intel-cmplr-lib-rt package does not expose a direct Python API for end-user applications. # It provides runtime components primarily for executables compiled with Intel C++ or DPC++ compilers. # Its presence in a Python environment is typically as a dependency for other Python packages # that wrap or utilize Intel-compiled native code (e.g., Intel Extension for PyTorch). # There are no standard Python import statements or direct usage patterns for this library. # For C++ applications, linking and runtime environment setup are crucial: # For compilation (example, requires Intel C++ compiler environment): # export LIBRARY_PATH=/path/to/intel/oneapi/compiler/latest/lib:$LIBRARY_PATH # icpx -o my_app my_app.cpp -L/path/to/intel/oneapi/compiler/latest/lib -lintel-cmplr-lib-rt # For execution, ensure runtime libraries are discoverable: # export LD_LIBRARY_PATH=/path/to/intel/oneapi/compiler/latest/lib:$LD_LIBRARY_PATH # ./my_app