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.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mpi4py-3.0.1-cp37-cp37m-win_amd64.whl (477.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

mpi4py-3.0.1-cp37-cp37m-win32.whl (366.8 kB view details)

Uploaded CPython 3.7mWindows x86

mpi4py-3.0.1-cp36-cp36m-win_amd64.whl (477.8 kB view details)

Uploaded CPython 3.6mWindows x86-64

mpi4py-3.0.1-cp36-cp36m-win32.whl (367.0 kB view details)

Uploaded CPython 3.6mWindows x86

mpi4py-3.0.1-cp35-cp35m-win_amd64.whl (474.5 kB view details)

Uploaded CPython 3.5mWindows x86-64

mpi4py-3.0.1-cp35-cp35m-win32.whl (361.8 kB view details)

Uploaded CPython 3.5mWindows x86

mpi4py-3.0.1-cp34-cp34m-win_amd64.whl (476.8 kB view details)

Uploaded CPython 3.4mWindows x86-64

mpi4py-3.0.1-cp34-cp34m-win32.whl (379.8 kB view details)

Uploaded CPython 3.4mWindows x86

mpi4py-3.0.1-cp33-cp33m-win_amd64.whl (478.3 kB view details)

Uploaded CPython 3.3mWindows x86-64

mpi4py-3.0.1-cp33-cp33m-win32.whl (381.7 kB view details)

Uploaded CPython 3.3mWindows x86

mpi4py-3.0.1-cp27-cp27m-win_amd64.whl (486.0 kB view details)

Uploaded CPython 2.7mWindows x86-64

mpi4py-3.0.1-cp27-cp27m-win32.whl (379.0 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

  • Download URL: mpi4py-3.0.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1.tar.gz
Algorithm Hash digest
SHA256 6549a5b81931303baf6600fa2e3bc04d8bd1d5c82f3c21379d0d64a9abcca851
MD5 969bcde3188fb98e0be61b5d78a8745f
BLAKE2b-256 55a2c827b196070e161357b49287fa46d69f25641930fd5f854722319d431843

See more details on using hashes here.

File details

Details for the file mpi4py-3.0.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: mpi4py-3.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 477.7 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 75a5436ed86202d00b6c0cf93894f91c53ad9b6182a8c90c443a00976770d900
MD5 cd11b7e18c51865be32d8fe73bff6cde
BLAKE2b-256 b79148776b0e0115a76628a9153ed121c3a6c82dbd1b6423eeaa89eb2d8b6c18

See more details on using hashes here.

File details

Details for the file mpi4py-3.0.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: mpi4py-3.0.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 366.8 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 13bec112a2e831be9f48ad6f92c0f92495d44a1a3452ba1fe16cbc94cac3eac2
MD5 e9438dd687e9934afb7f060bcffe7ff7
BLAKE2b-256 c57f4ae06216dbb5e98e2d9af1ab8f5a72e989f2ab97eb89b127e35c75a78fab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 477.8 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 17f256a74ffff5b445f1f9011d699413496f807f45f994ee30e9acc881e7fc57
MD5 8050f89a41d1d5f56db97c706465973c
BLAKE2b-256 a9db366c845f0230c72950e82ad310af96e8e6b6975e3472cc1d33f62bea5832

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 367.0 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 65f97afbbc6873d72405f3747db67004a5c28556528e4f0ce63afe0306abffe2
MD5 62c7f0e88b7428a2bd4897708084c253
BLAKE2b-256 d2c85ff70b94a73118a3abd3e4dcd79c569d74f397f341a1957533a051bc3210

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 474.5 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 8621edb70fa58f5467563128588ddd3810e4b4149e8f5f3f598a5614f292d71a
MD5 eaeba8c02aaceade7d85e0f9fa061ead
BLAKE2b-256 c4acde4df32fe9770a6b6c1ba051cc665208aa26c85045e9581c61f6226319d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 361.8 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 6130eea4686c1c4693c0d53c9acb2e5f82e30ffbe88ffdea71fb52783586058c
MD5 0b2e73cd6b29a29d104e70b2493c10c8
BLAKE2b-256 dfaa229b2a3a8e8f39f938f2c243ec49f449c0d71a3c81f4af0b5ab26ddeb85a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 476.8 kB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 f063527b2ab1f9d8fb567337999d961b6b9686f27bae214e21545b42168380df
MD5 d91c600ce23486eb03b87ff605b8dc8f
BLAKE2b-256 81ebc67eb3e82356238ae11686b1612ef2ed2bbb482cae4b6964a9e615614f53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 379.8 kB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 675af09dd2933a00463ee8cd9a1b63faf146647afd4cfacdc929b0b6789943a0
MD5 356254be76404f75c178fe6ee888b078
BLAKE2b-256 e12017eab131820175ec3888c85258e0c5970ff2c95b583e2eb6ec5e8c0aa28b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp33-cp33m-win_amd64.whl
  • Upload date:
  • Size: 478.3 kB
  • Tags: CPython 3.3m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp33-cp33m-win_amd64.whl
Algorithm Hash digest
SHA256 566cae55abfc24f9c5bffa3c9ac5f768f02d6249375c3821d5c8a360ec9bd772
MD5 cd62ce5f62755b17293984895352d6e2
BLAKE2b-256 5a6bff079d3e231f7f79a854b090968f1b41757226e833f8db3e70df81032633

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp33-cp33m-win32.whl
  • Upload date:
  • Size: 381.7 kB
  • Tags: CPython 3.3m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp33-cp33m-win32.whl
Algorithm Hash digest
SHA256 839c26fa62efdf2ef6c9e18e8dc552d99ff94d4c630efe279bc81dd2eb24a4a9
MD5 08f0fa803b524887956813f5cce36506
BLAKE2b-256 e0fb270e49448e01ceb9beed237137bb30615abf89a9832d7d9e9130e5eab1e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 486.0 kB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 a73d016d13325287139a37f50ececf92e9aa7783a4a53d25906944c3ec905d1e
MD5 ac4242b52fadd7b74d3b18b53293486f
BLAKE2b-256 0c0db7c908468b664465797ae1dc9f21f3a9f30c3010bfdc649e1a3b4df91cb9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mpi4py-3.0.1-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 379.0 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

File hashes

Hashes for mpi4py-3.0.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 4cf54f50b2403c5a35e5fb2264f7c2dd4525fdc06ac8503100b980fdb8e65505
MD5 faebe2836ea4d30f337a56d5434470b8
BLAKE2b-256 7c8931d72b64129a56927d1c7e7a5ab1c602d4974b96c8989edd3aa697641ee0

See more details on using hashes here.

Supported by

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