Package Scientific :: Package MPI

[frames] | no frames]

# Package MPI

Python interface to the Message Passing Interface (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 an 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.

A number of global constants are also defined (max, min, prod, sum, land, lor, lxor, band, bor, bxor, maxloc), and minloc). They are used to specify the desired operator in calls to the 'reduce' and 'allreduce' methods of the communicator objects.

Submodules

- Scientific.MPI.IO: I/O utilities for use with MPI programs

Classes
| MPICommunicator MPI Communicator
| MPIOperationObject
| MPIRequest MPI Request
| band The 'bitwise and' operation in reduce/allreduce communications.
| bor The 'bitwise or' operation in reduce/allreduce communications.
| bxor The 'bitwise exclusive-or' operation.
| land The 'logical and' operation in reduce/allreduce communications.
| lor The 'logical or' operation in reduce/allreduce communications.
| lxor The 'logical exclusive-or' operation.
| max The 'maximum' operation in reduce/allreduce communications.
| maxloc The 'location of the maximum' operation.
| min The 'minimum' operation in reduce/allreduce communications.
| minloc The 'location of the minimum' operation.
| prod The 'product' operation in reduce/allreduce communications.
| replace The 'replace' operation.
| sum The 'sum' operation in reduce/allreduce communications.

Variables
| world = `<Scientific.MPI.MPICommunicator instance at 0x25786e8>`