{"id":6679,"library":"intel-cmplr-lib-rt","title":"Intel oneAPI Runtime Common Libraries","description":"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.","status":"active","version":"2025.3.3","language":"en","source_language":"en","source_url":"https://www.intel.com/content/www/us/en/developer/tools/oneapi/overview.html","tags":["intel","oneapi","runtime","compiler","native-libraries","hpc","gpu","cpu"],"install":[{"cmd":"pip install intel-cmplr-lib-rt","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Required for third-party program files and EULA; typically installed alongside common libraries.","package":"intel-cmplr-lic-rt","optional":false},{"reason":"Often needs one or more compiler-specific runtime packages depending on the compiled application's origin (e.g., `intel-sycl-rt`, `dpcpp-cpp-rt`).","package":"compiler-specific runtimes","optional":false}],"imports":[],"quickstart":{"code":"# The intel-cmplr-lib-rt package does not expose a direct Python API for end-user applications.\n# It provides runtime components primarily for executables compiled with Intel C++ or DPC++ compilers.\n# Its presence in a Python environment is typically as a dependency for other Python packages\n# that wrap or utilize Intel-compiled native code (e.g., Intel Extension for PyTorch).\n# There are no standard Python import statements or direct usage patterns for this library.\n# For C++ applications, linking and runtime environment setup are crucial:\n# For compilation (example, requires Intel C++ compiler environment):\n#  export LIBRARY_PATH=/path/to/intel/oneapi/compiler/latest/lib:$LIBRARY_PATH\n#  icpx -o my_app my_app.cpp -L/path/to/intel/oneapi/compiler/latest/lib -lintel-cmplr-lib-rt\n# For execution, ensure runtime libraries are discoverable:\n#  export LD_LIBRARY_PATH=/path/to/intel/oneapi/compiler/latest/lib:$LD_LIBRARY_PATH\n#  ./my_app","lang":"python","description":"The `intel-cmplr-lib-rt` library does not offer a direct Python API for application development. It serves as a runtime dependency for executables, particularly those compiled with Intel's C++ or DPC++ compilers. Its inclusion in a Python environment usually signifies that a higher-level Python package depends on the underlying Intel runtime components. The `quickstart.code` block above illustrates how it might be used in a C++ compilation and execution flow, emphasizing the critical role of environment variables for linking and runtime library discovery."},"warnings":[{"fix":"Understand its purpose as a runtime dependency for compiled code, not a Python-callable library. Its Python package exists for dependency management within Python ecosystems that leverage Intel-optimized native binaries.","message":"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.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Ensure that the directories containing the Intel runtime libraries are correctly added to the system's dynamic linker search paths (`LD_LIBRARY_PATH` or `PATH`) before running applications that depend on them. Intel oneAPI's `setvars.sh` (or `.bat`) scripts typically handle this.","message":"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.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Refer to the release notes for the specific Intel oneAPI compiler used to build the dependent application. Recompile applications with newer compilers and adjust flags or code as necessary to align with current best practices and supported features.","message":"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.","severity":"breaking","affected_versions":"2025.x and newer (e.g., removal of -fsycl-link-huge-device-code in 2025.3.3)"},{"fix":"Ensure all necessary Intel oneAPI runtime components are installed. When using `pip`, consider the dependency requirements of higher-level packages (like `intel-extension-for-pytorch`) which might explicitly list these associated runtime dependencies.","message":"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.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"last_verified":"2026-04-15T00:00:00.000Z","next_check":"2026-07-14T00:00:00.000Z","problems":[]}