MPI for Python: Performance Improvements and MPI­2 Extensions

Lisandro Daniel Dalcin, Mario Alberto Storti, Rodrigo Rafael Paz, Jorge D'Elia


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 speci- fication 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/nonblocking 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: // [submitted to Journal of Parallel and Distributed Computing (2006)]

Full Text: