Skip to main content

Python bindings for MPI

Project description

This package provides Python bindings for the Message Passing Interface (MPI) standard. It is implemented on top of the MPI-1/2/3 specification and exposes an API which grounds on the standard MPI-2 C++ bindings.

Features

This package supports:

  • Convenient communication of any picklable Python object

    • point-to-point (send & receive)

    • collective (broadcast, scatter & gather, reductions)

  • Fast communication of Python object exposing the Python buffer interface (NumPy arrays, builtin bytes/string/array objects)

    • point-to-point (blocking/nonbloking/persistent send & receive)

    • collective (broadcast, block/vector scatter & gather, reductions)

  • Process groups and communication domains

    • Creation of new intra/inter communicators

    • Cartesian & graph topologies

  • Parallel input/output:

    • read & write

    • blocking/nonbloking & collective/noncollective

    • individual/shared file pointers & explicit offset

  • Dynamic process management

    • spawn & spawn multiple

    • accept/connect

    • name publishing & lookup

  • One-sided operations

    • remote memory access (put, get, accumulate)

    • passive target syncronization (start/complete & post/wait)

    • active target syncronization (lock & unlock)

Install

Once you have a working MPI implementation and the mpicc compiler wrapper is on your search path, you can install this package

  • using pip:

    $ pip install mpi4py
  • using easy_install (deprecated):

    $ easy_install mpi4py

You can also install the in-development version of mpi4py

  • using pip:

    $ pip install git+https://bitbucket.org/mpi4py/mpi4py

    or:

    $ pip install https://bitbucket.org/mpi4py/mpi4py/get/master.tar.gz
  • using easy_install (deprecated):

    $ easy_install git+https://bitbucket.org/mpi4py/mpi4py

    or:

    $ easy_install https://bitbucket.org/mpi4py/mpi4py/get/master.tar.gz

You can also install it directly on Fedora (as well as RHEL and their derivatives using the EPEL software repository)

  • using dnf and the mpich package on x86_64:

    $ dnf install mpi4py-mpich
  • using dnf and the openmpi package on x86_64:

    $ dnf install mpi4py-openmpi

Please remember to load the correct module for your choosen MPI environment

  • for mpich package on x86_64 do:

    $ module load mpi/mpich-x86_64
    $ python -c "import mpi4py"
  • for openmpi package on x86_64 do:

    $ module load mpi/openmpi-x86_64
    $ python -c "import mpi4py"

Citations

If MPI for Python been significant to a project that leads to an academic publication, please acknowledge that fact by citing the project.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpi4py-3.0.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distributions

mpi4py-3.0.0-cp36-cp36m-win_amd64.whl (478.8 kB view details)

Uploaded CPython 3.6m Windows x86-64

mpi4py-3.0.0-cp36-cp36m-win32.whl (369.1 kB view details)

Uploaded CPython 3.6m Windows x86

mpi4py-3.0.0-cp35-cp35m-win_amd64.whl (477.2 kB view details)

Uploaded CPython 3.5m Windows x86-64

mpi4py-3.0.0-cp35-cp35m-win32.whl (367.3 kB view details)

Uploaded CPython 3.5m Windows x86

mpi4py-3.0.0-cp34-cp34m-win_amd64.whl (478.8 kB view details)

Uploaded CPython 3.4m Windows x86-64

mpi4py-3.0.0-cp34-cp34m-win32.whl (386.4 kB view details)

Uploaded CPython 3.4m Windows x86

mpi4py-3.0.0-cp33-cp33m-win_amd64.whl (478.7 kB view details)

Uploaded CPython 3.3m Windows x86-64

mpi4py-3.0.0-cp33-cp33m-win32.whl (386.4 kB view details)

Uploaded CPython 3.3m Windows x86

mpi4py-3.0.0-cp27-cp27m-win_amd64.whl (489.9 kB view details)

Uploaded CPython 2.7m Windows x86-64

mpi4py-3.0.0-cp27-cp27m-win32.whl (385.6 kB view details)

Uploaded CPython 2.7m Windows x86

File details

Details for the file mpi4py-3.0.0.tar.gz.

File metadata

  • Download URL: mpi4py-3.0.0.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mpi4py-3.0.0.tar.gz
Algorithm Hash digest
SHA256 b457b02d85bdd9a4775a097fac5234a20397b43e073f14d9e29b6cd78c68efd7
MD5 bfe19f20cef5e92f6e49e50fb627ee70
BLAKE2b-256 31271288918ac230cc9abc0da17d84d66f3db477757d90b3d6b070d709391a15

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 07ce2c7141febdc7b6b3381e6f17b4f4aae143623f00d3026ac5a8855aca05fc
MD5 0b18bb0f3d9c5104571c863e05f5ea7d
BLAKE2b-256 06b31996abb9a549a81c1b92750dd76147224b5265db3ce71005a0819aaa7591

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 37c442239da3dd038025e374d9f641d691e1a11efac60747e9b753addc5f6b77
MD5 1829c716128a3e0c6089d45a240bfdf3
BLAKE2b-256 61e624643377d4a08ee4d60e1fd35828ba7105d2ee350162c2f4f28fbef30b48

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 aefde48f7d9670c7325b878a681c347e51ee46b5a7da242a0301cdd33f983de0
MD5 72aed62c8b012949d6438811d13b768d
BLAKE2b-256 d8ffb13a6d029b09af448c6b31ea498a0f8394ce06428f3ac7264ed3c79b144c

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6860f603cecf9fc1644ad11ece53ad038024af61ac09c6d80692c1ff13f4fe12
MD5 b2524319da8ef3daa7c412a2e65156ff
BLAKE2b-256 b312df5501d54665bd75a383427c3197e97d646e0f0e4c6ba0b6d2e3fbd7542c

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 23891cd238bf2a43fa40fadd27d3c6be8cccae8aebd5900426041ab88dad4ce6
MD5 573491618053effdee36774447a77f0e
BLAKE2b-256 cdb5c41802679614f7b678be5db9a22ee8245f99791730bb661e4d86e3819b36

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 29b67865e4652d312d647ce27c7b1f551fa9405b6e75f0f65af10bba59356fc2
MD5 641ff3922d201122d10a33e5a6a8b76b
BLAKE2b-256 a7cc2c93f81e035a8cb86fd0739bf7f71ef6e966ff75b7bda549d85c40080219

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp33-cp33m-win_amd64.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 6c163158aa5b8fdd3baa4808e1c5fe31c934d8cf01626ada13a1b3b590bb6b9d
MD5 94621c55bdc0605787cb1b32b38516e8
BLAKE2b-256 75d5a2a890ca01871c4c2fc6c7548dedb0ff97947d649572c4a40aa847823631

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp33-cp33m-win32.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 f6d1be1cf7e015f93d807eb59c294a140b139a11d59d218cc35e08fff938252a
MD5 f550ad6b6a8a592009fed56f4f9e0972
BLAKE2b-256 557f157c971c815562e43b5533c823bdd9661ffe682d90201d80ab6bae640ba8

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 64c24fc4be52cb00257ec7de5fdef5a60050b1d0309ca8432324129527412379
MD5 9b95d5644b3d18819a39f4db858756ac
BLAKE2b-256 4d144df0ba0247a94c93a227d99f7d0ffb7a06b0d33bc73460c5ea16ead5b800

See more details on using hashes here.

Provenance

File details

Details for the file mpi4py-3.0.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for mpi4py-3.0.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 6ac28f9f1c86d19c2a5907b59d496195f87680c1ffd6aa56d59a60c0e8caa925
MD5 6ff06184bb0ec20284ab285940c49002
BLAKE2b-256 610e3e03d06001fde08925369465095407c1b7af28812992a204396bfdd03d63

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page