Module Scientific.MPI

This module contains a Python interface to the Message Passing Interface (MPI), and standardized library for message-passing parallel computing. Please read an introduction to MPI before using this module; some terms in the documentation do not make much sense unless you understand the principles of MPI.

This module contains only one object, world, which represents the default communicator in MPI. This communicator can be used directly for sending and receiving data, or other communicators can be derived from it.

Submodules:


Class MPICommunicator: MPI Communicator

There is no constructor for MPI Communicator objects. The default communicator is given by Scientific.MPI.world, and other communicators can only be created by methods on an existing communicator object.

A communicator object has two read-only attributes: rank is an integer which indicates the rank of the current process in the communicator, and size is an integer equal to the number of processes that participate in the communicator.

Methods:

Class MPIError: MPI call failed