boostmpi is a high-quality Python wrapper around the Message Passing Interface (MPI). MPI is a standardized interface to libraries such as OpenMPI and MPICH that provide high-performance inter-process communication for distributed-memory computing. boostmpi uses the Boost.MPI library, which gives MPI a very usable C++ interface. This C++ interface is then made accessible to Python via the Boost.Python library.
Here’s a small sample to give you an idea what programming with boostmpi is like:
import boostmpi as mpi if mpi.rank == 0: for i in range(1, mpi.size): mpi.world.send(dest=i, value="Hey %d, what's up?" % i) else: print mpi.world.recv()