Message Passing Interface Utilities (mango.mpi)

Convenience functions for MPI (mpi4py). This module imports everything from the mpi4py namespace (if available).

Variables

mango.mpi.haveMpi4py = True

Boolean indicating the availability of mpi4py.

mango.mpi.world = <mpi4py.MPI.Intracomm object at 0x7f72206bdb70>

The COMM_WORLD MPI communicator.

mango.mpi.size = 1

Number of MPI processes in world (world.Get_size()).

mango.mpi.rank = 0

Rank of this MPI process (world.Get_rank()).

Functions

getLoggers(name[, rootRank]) Returns (logger,rootLogger) pair of logging.Logger objects.
initialiseLoggers(logrNameList[, ...]) Initialises specified (by name suffix) loggers to generate output at the specified logging level.
getCartShape(dimension[, communicator]) Returns getCartShapeForSize(dimension, communicator.Get_size()).
getCartShapeForSize(dimension, size) Returns an MPI cartesian layout for the given cartesian-dimension (dimension) and number of MPI processes (size).

Classes

SplitStreamHandler([outstr, errstr, splitlevel])

Table Of Contents

Previous topic

mango.image.registration.affine_transform

Next topic

mango.mpi.getLoggers

This Page