MPI for Python: Performance improvements and MPI-2 extensions

Lisandro Dalcín, Rodrigo R. Paz, Mario Alberto Storti, Jorge D’Elía · Journal of Parallel and Distributed Computing · 2007

MPI for Python provides bindings of the message passing interface (MPI) standard for the Python programming language and allows any Python program to exploit multiple processors. In its first release, MPI for Python was constructed on top of the MPI-1 specification defining an object-oriented interface that closely followed the MPI-2 C ++ bindings, and provided support for communications of general Python objects. In the latest release, this package is improved to enable direct blocking/non-blocking communication of numeric arrays, and to support almost all MPI-2 features. Improvements in communication performance have been tested in a Beowulf class cluster. Results showed a negligible overhead in comparison to compiled C code. MPI for Python is open source and available for download on the web ( http://mpi4py.scipy.org/ ).

Read the paper · More papers on PaperTik