MPI and PETSC for python

Lisandro Dalcin*, Pablo A. Kler, Mario A. Storti, Rodrigo R. Paz

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingChapterpeer-review


This work reports our attempts to facilitate the access to high-performance parallel computing resources within a Python programming environment. The outcome of this effort are two open source and public domain packages, MPI for Python (known in short as mpi4py) and PETSc for Python (known in short as petsc4py). MPI for Python [1, 2, 3], is an open-source software project that provides bindings of the Message Passing Interface (MPI) standard for the Python programming language and targets the development of parallel application codes in Python. Its facilities allow parallel Python programs to easily exploit multiple processors. MPI for Python employs any back-end MPI implementation, thus being immediately available on any parallel environment providing access to any MPI library. PETSc for Python [4] is an open-source software project that provides access to the Portable, Extensible Toolkit for Scientific Computation (PETSc) libraries within the Python programming language. Its facilities allow sequential and parallel Python applications to exploit state of the art algorithms and data structures readily available in PETSc.

Original languageEnglish (US)
Title of host publicationComputational Mechanics Research Trends
PublisherNova Science Publishers, Inc.
Number of pages41
ISBN (Print)9781608760572
StatePublished - Dec 1 2010

ASJC Scopus subject areas

  • Computer Science(all)


Dive into the research topics of 'MPI and PETSC for python'. Together they form a unique fingerprint.

Cite this