MPI for Python

Author:

Lisandro Dalcin

Contact:

dalcinl@gmail.com

Date:

Oct 10, 2025

Abstract

MPI for Python provides Python bindings for theMessage PassingInterface (MPI) standard, allowing Python applications to exploitmultiple processors on workstations, clusters and supercomputers.

This package builds on the MPI specification and provides an objectoriented interface resembling the MPI-2 C++ bindings. It supportspoint-to-point (sends, receives) and collective (broadcasts,scatters, gathers) communication of anypicklable Python object,as well as efficient communication of Python objects exposing thePython buffer interface (e.g. NumPy arrays and builtinbytes/array/memoryview objects).

Contents