mpi4py

Python bindings for MPI


Keywords
scientific, computing, parallel, message, passing, interface, MPI, mpi-applications, mpi-library, mpi4py, parallel-computing, python
License
BSD-3-Clause
Install
pip install mpi4py==0.4.0rc3

Documentation

MPI for Python

image

image

image

image

image

image

image

Overview

This package provides Python bindings for the Message Passing Interface (MPI) standard. It is implemented on top of the MPI specification and exposes an API which grounds on the standard MPI-2 C++ bindings.

Prerequisites

  • Python 3.6 or above, or PyPy 7.2 or above.
  • An MPI implementation like MPICH or Open MPI built with shared/dynamic libraries.

Documentation

Support

Testsuite

The testsuite is run periodically on

Citation

  • L. Dalcin and Y.-L. L. Fang, mpi4py: Status Update After 12 Years of Development, Computing in Science & Engineering, 23(4):47-54, 2021. https://doi.org/10.1109/MCSE.2021.3083216
  • M. Rogowski, S. Aseeri, D. Keyes, and L. Dalcin, mpi4py.futures: MPI-Based Asynchronous Task Execution for Python, IEEE Transactions on Parallel and Distributed Systems, 34(2):611-622, 2023. https://doi.org/10.1109/TPDS.2022.3225481