Appendix B

Parallel Programming Using MPI4Py

B.1 Introduction to MPI

Message Passing Interface (MPI) is a system designed for programming parallel computers. It defines a library of routines that can be programmed using Fortran or C and is supported by most hardware vendors. There are popular MPI versions both free and commercially available for use. MPI version 1 was released in 1994. The current version is MPI2. This appendix serves as a brief introduction to parallel programming using Python and MPI. Interested readers are encouraged to check the MPI4Py documentation [66] and books on MPI [29] and [73] for more details.

MPI is useful on distributed memory systems and also on a shared memory system. The distributed memory system consists of ...

Get Image Processing and Acquisition using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.