Package mpi4py
source code
This is the MPI for Python package.
The Message Passing Interface (MPI) is a standardized and portable
message-passing system designed to function on a wide variety of
parallel computers. The MPI standard defines the syntax and semantics
of library routines and allows users to write portable programs in the
main scientific programming languages (Fortran, C, or C++). Since its
release, the MPI specification has become the leading standard for
message-passing libraries for parallel computers.
MPI for Python provides MPI bindings for the Python programming
language, allowing any Python program to exploit multiple processors.
This package build on the MPI specification and provides an object
oriented interface which closely follows MPI-2 C++ bindings.
Version:
3.1.5
Author:
Lisandro Dalcin
Credits:
MPI Forum, MPICH Team, Open MPI Team
|
Rc
Runtime configuration options.
|
|
|
|
get_config()
Return a dictionary with information about MPI. |
source code
|
|
|
|
Return the directory in the package that contains header files.
Extension modules that need to compile against mpi4py should use
this function to locate the appropriate include directory. Using
Python distutils (or perhaps NumPy distutils):
import mpi4py
Extension('extension_name', ...
include_dirs=[..., mpi4py.get_include()])
|