openmpi
A high performance implementation of MPI
What it is and what it does
This package wraps Open MPI, the open-source implementation of the MPI specification for distributed-memory parallel computing. It allows Python developers to write and run parallel applications across clusters and multi-node systems by providing access to MPI's message-passing primitives. Open MPI is maintained by a consortium of academic, research, and industry partners and combines expertise from across the HPC community.
The package is distributed as prebuilt wheels for macOS and Linux but has medium install friction because it requires the Open MPI system library to be present on the host machine—it does not bundle the runtime. There are no declared Python runtime dependencies. The project is actively maintained, with recent releases and an active repository.
Use it for:
- Distribute computation across a cluster of machines using MPI message passing.
- Parallelize scientific simulations and numerical algorithms on multi-node HPC systems.
- Build fault-tolerant distributed applications that coordinate via MPI collective operations.
- Develop and test parallel code locally before deploying to production HPC clusters.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python interface to Open MPI, a high-performance implementation of the Message Passing Interface (MPI) specification for distributed computing and parallel applications.
Yes, if you need MPI for distributed computing and have Open MPI already installed on your system. The package is actively maintained, has no known vulnerabilities, and receives regular downloads. The main gotcha is that it requires the Open MPI system library as a prerequisite and does not specify Python version support, so verify compatibility with your environment before committing.
Install
openmpi on PyPI
pip
pip install openmpiuv
uv add openmpipoetry
poetry add openmpiInstalling openmpi
Before you install
Medium install friction: prebuilt wheels are available for macOS and Linux across multiple architectures, but no runtime dependencies are bundled, so the underlying Open MPI library must be present on the system. Active maintenance with recent releases.
License in practice
License treatment is unclear—the package uses a custom LicenseRef-OpenMPI identifier without a standard SPDX mapping. Review the Open MPI project's actual license terms before use in proprietary or restricted contexts.
Quickstart
pip install openmpi
import openmpi
# Use MPI functions via the package's API
Open MPI system library must be installed on the host; Python version support is unspecified by the package.
Verify before relying
- Exact Python version compatibility (requires_python is unspecified)
- Whether the package provides Python bindings or is a thin wrapper around the C library
- Runtime dependency on system-installed Open MPI version and compatibility guarantees
Package facts
| License | LicenseRef-OpenMPI (unclear) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 170 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 101,983/month — #12,902 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: openmpi-5.0.10-py3-none-macosx_11_0_arm64.whl; openmpi-5.0.10-py3-none-macosx_11_0_x86_64.whl; openmpi-5.0.10-py3-none-manylinux_2_28_aarch64.whl; openmpi-5.0.10-py3-none-manylinux_2_28_x86_64.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
mpi4pympi4py provides Python bindings for the Message…
permissive · top 5,000 on PyPI
pytest-mpiA pytest plugin that marks and runs tests under…
permissive · top 15,000 on PyPI
mpichProvides a high-performance Message Passing…
unclear · top 15,000 on PyPI
impi-rtProvides Intel's standards-based MPI…
unclear · top 15,000 on PyPI
ClusterShellClusterShell is a Python framework for running…
copyleft · top 15,000 on PyPI
ipyparallelManages clusters of IPython processes for…
permissive · top 15,000 on PyPI
pyopenclPyOpenCL provides Python bindings to OpenCL,…
permissive · top 15,000 on PyPI
distributedDistributed provides a scheduler and runtime…
permissive · top 5,000 on PyPI
nvidia-nvshmem-cu13NVSHMEM provides a global address space for GPU…
unclear · top 1,000 on PyPI
intel-openmpProvides Intel's OpenMP runtime library for…
unclear · top 5,000 on PyPI