Registry / ai-ml / intel-openmp

intel-openmp

JSON →
library2026.1.1pypypi✓ verified 21d ago

The Intel OpenMP* Runtime Library provides OpenMP API specification support for Intel® C, C++, and Fortran compilers. It helps improve the performance of multithreaded software by utilizing shared memory on multi-core processor systems. This package serves as a crucial underlying runtime for Python libraries that are compiled with OpenMP support, rather than offering a direct Python API for user interaction. The current version is 2025.3.3, and it appears to follow a regular release cadence aligned with Intel's oneAPI toolkit updates.

pip install intel-openmp
INSTALL
IMPORT
SIG · INTEL-OPENMP
I
intel-openmp
ai-mlpythonv2026.1.1
Install
3.8s avg
Import
Disk
16MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2026.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.8s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OpenMP Runtime (indirect)
N/A - This library primarily provides a runtime shared library, not direct Python imports.
The `intel-openmp` package provides dynamic libraries for the OpenMP runtime. It does not expose a Python API that users directly import (e.g., `import intel_openmp`). Instead, its presence on the system allows other Python libraries (like NumPy or SciPy when built with MKL) that are compiled with OpenMP support to utilize Intel's OpenMP implementation for parallel processing.

The `intel-openmp` library doesn't expose a direct Python API. Its quickstart involves demonstrating its presence via environment variables and then executing code from other scientific libraries (like NumPy or SciPy compiled with MKL) that are designed to leverage OpenMP for parallel computations. The example illustrates setting `OMP_NUM_THREADS` which influences OpenMP-enabled applications, and then performing a numerical operation that *could* be parallelized by the underlying runtime.

# The intel-openmp library primarily provides runtime support. # Its impact is usually observed through the performance of other libraries. # To demonstrate its potential effect, you would typically use a library # that leverages OpenMP, such as NumPy or SciPy linked with MKL. # The actual parallelization is handled by the underlying compiled code. # Example of a computation that *could* benefit from OpenMP # if the underlying libraries (e.g., NumPy) are configured to use it. import numpy as np import os # OpenMP settings can often be influenced by environment variables # OMP_NUM_THREADS is a common OpenMP environment variable # setting it here for demonstration, though it's often set system-wide # or before the Python process starts. os.environ['OMP_NUM_THREADS'] = os.environ.get('OMP_NUM_THREADS', '4') print(f"OMP_NUM_THREADS is set to: {os.environ.get('OMP_NUM_THREADS')}") # A simple NumPy operation that might be parallelized by MKL/OpenMP # if the NumPy installation is linked against MKL and OpenMP is active. matrix_size = 5000 a = np.random.rand(matrix_size, matrix_size) b = np.random.rand(matrix_size, matrix_size) print("Performing a large matrix multiplication (may use OpenMP if configured):") # The actual parallel execution depends on how NumPy/MKL were built and OpenMP runtime interaction c = a @ b print("Matrix multiplication complete.") # To truly verify OpenMP usage, you'd typically need profiling tools # or check specific library configurations (e.g., `np.show_config()`).
Debug
Known issues
gotchaThe `intel-openmp` package provides the Intel OpenMP runtime, which is a dynamic library. It does not provide Python-callable functions or modules that you would import directly into your Python code. Its purpose is to act as a backend for other Python libraries (e.g., NumPy, SciPy) that have been compiled to use OpenMP for parallel processing. Attempting `import intel_openmp` will result in an `ImportError`.
fix
Understand that `intel-openmp` is a runtime dependency, not a direct Python library for API calls. Ensure your other scientific libraries are built to leverage OpenMP if you intend to benefit from it.
affects: All versions
gotchaMixing different OpenMP runtimes (e.g., Intel's `libiomp` from `intel-openmp` and GNU's `libgomp`) within the same Python process can lead to unexpected behavior, crashes, or incorrect results. This often occurs when different Python packages are compiled with different compilers that link to their respective OpenMP implementations.
fix
Prefer a consistent build environment for all OpenMP-enabled Python packages. Tools like `threadpoolctl` can help manage and control the number of threads used by various native libraries (including those using OpenMP). In some cases, setting `OMP_THREAD_LIMIT` or `MKL_THREADING_LAYER=GNU` (for MKL-linked libraries) can help mitigate conflicts.
affects: All versions
gotchaWhile `intel-openmp` provides the runtime, its effective utilization by Python libraries depends on those libraries being compiled specifically to use OpenMP and, in some cases, to link against the Intel OpenMP runtime (e.g., via MKL). Simply installing `intel-openmp` does not magically parallelize all Python code; it only provides the necessary shared library if other components are built to use it.
fix
Verify the build configuration of your scientific computing libraries (e.g., NumPy, SciPy). Many distributions (like Anaconda's NumPy/SciPy) are often built with MKL, which in turn can use Intel OpenMP. For `pip` installations, ensure you are installing optimized wheels or building from source with appropriate compiler flags if direct OpenMP linking is desired.
affects: All versions
Upgrade
Version history
2026.1.1latest on PyPI · released Jul 29, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Resources
intel-openmp — pip install intel-openmp · libregistry