Registry / devops / impi-rt

impi-rt

JSON →
library2021.18.0pypypiunverified

The impi-rt package provides Python bindings for Intel MPI Library, enabling high-performance message passing for parallel computing. Currently at version 2021.18.0, it follows Intel's release cadence tied to Intel MPI releases. It is a runtime-only package intended for executing MPI applications; the development package (impi-devel) is separate.

pip install impi-rt
INSTALL
IMPORT
SIG · IMPI-RT
I
impi-rt
devopspythonv2021.18.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

MPI
from impi_rt import MPI
from mpi4py import MPI

Basic MPI send/receive using mpi4py with Intel MPI runtime. Run with 'mpirun -np 2 python script.py'.

from mpi4py import MPI import numpy as np comm = MPI.COMM_WORLD rank = comm.Get_rank() size = comm.Get_size() data = np.array([rank + 1], dtype=np.int32) if rank == 0: comm.Send(data, dest=1) print(f"Rank 0 sent {data[0]}") elif rank == 1: recv = np.zeros(1, dtype=np.int32) comm.Recv(recv, source=0) print(f"Rank 1 received {recv[0]}")
Debug
Known issues
gotchaimpi-rt is the runtime package; for development, install impi-devel. Without impi-devel, you cannot compile MPI applications but can run them if the runtime is present.
fix
Install impi-devel (or intel-oneapi-mpi-devel) for development headers and compiler wrappers.
affects: all
breakingIntel has transitioned from pypi impi-rt to conda/OneAPI packages. The PyPI version is outdated (2021.18.0) and may not be actively maintained. Use conda with intelmpi for newer versions.
fix
Use conda: conda install -c intel intelmpi -c intel mpi4py
affects: 2021.18.0
gotchaMPI_Comm_rank and similar MPI functions are not directly available via impi-rt; you must use mpi4py bindings.
fix
Use mpi4py: from mpi4py import MPI; rank = MPI.COMM_WORLD.Get_rank()
affects: all
Upgrade
Version history
2021.18.0latest on PyPI · released Apr 24, 2026
Audit
Dependencies
mpi4pyoptionalMany users use impi-rt with mpi4py for MPI bindings; impi-rt itself provides the runtime, mpi4py provides the Python interface.
Agent activity
20 hits · last 30 days
node
20
Resources
impi-rt — pip install impi-rt · libregistry