NumPy/SciPy + MPI for Python

Lisandro Dalcin dalcinl at
Fri Oct 13 15:09:36 CDT 2006

This post is surely OT, but I cannot imagine a better place to contact
people about this subject. Please, don't blame me.

Any people here interested in NumPy/SciPy + MPI? From some time ago,
I've been developing mpi4py (first release at SF) and I am really near
to release a new version.

This package exposes an API almost identical to MPI-2 C++ bindings.
Almost all MPI-1 and MPI-2 features (even one-sided communications and
parallel I/O) are fully supported for any object exposing
single-segment buffer interface, an only some of them for
communication of general Python objects (with the help of

The posibility of constructing any user-defined MPI datatypes, as well
as virtual topologies (specially cartesian), can be really nice for
anyone interested in parallel multidimensional array procesing.

Before the next release, I would like to wait for any comment, You can
contact me via private mail to get a tarbal with latest developments,
or we can have some discussion here, if many of you consider this a
good idea. In the long term, I would like to see mpi4py integrated as
a subpackage of SciPy.


Lisandro Dalcín
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594

More information about the Numpy-discussion mailing list