Welcome to boostmpi’s documentation!¶
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.
boostmpi
was originally distributed as part of the
Boost C++ library. This separate
distribution aims to make the software more accessible.
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()
Web Page and Support¶
boostmpi
has a home page
that contains news, download links and support options for boostmpi.