7.5. MPI-2 routines for launching new MPI processes

A number of MPI-2 routines were added to the module to support dynamic process creation. The makefile will detect (hopefully) if the library that you are using to build the module contains the MPI-2 routines. Note that not all parallel systems support dynamic process creation even if the library has the functionality. These routines have been tested with openmpi version 1.03(beta) and MPICH2 version 1.0.3 under using the default job launcher that ships with the MPI libraries.

The following MPI-2 related routines are now supported:

here is also support for the attribute MPI_UNIVERSE_SIZE. This attribute is the number of processors that are available for spawning new tasks. This can be printed using the following:

print "  MPI_UNIVERSE_SIZE",mpi.mpi_attr_get(mpi.MPI_COMM_WORLD,mpi.MPI_UNIVERSE_SIZE)