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.
L. Dalcin, P. Kler, R. Paz, and A. Cosimo, Parallel Distributed Computing using Python, Advances in Water Resources, 34(9):1124-1139, 2011. http://dx.doi.org/10.1016/j.advwatres.2011.04.013
L. Dalcin, R. Paz, M. Storti, and J. D’Elia, MPI for Python: performance improvements and MPI-2 extensions, Journal of Parallel and Distributed Computing, 68(5):655-662, 2008. http://dx.doi.org/10.1016/j.jpdc.2007.09.005
L. Dalcin, R. Paz, and M. Storti, MPI for Python, Journal of Parallel and Distributed Computing, 65(9):1108-1115, 2005. http://dx.doi.org/10.1016/j.jpdc.2005.03.010
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for mpi4py-3.0.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 844c166813032a9a3b5142e150be6f78dc196eaa3681780fc3e895a7789eb82b |
|
MD5 | e006bfd9000842469d35f851ca4d2456 |
|
BLAKE2b-256 | e57d435c177d3689f7a9e369010b9b8ca9a74618d6cb4bb909b39962e82b9778 |
Hashes for mpi4py-3.0.3-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af1ba4e159a338b91a25bc1d0a009c0c37b095047fd2f6ed74b50ae83be5de7d |
|
MD5 | c71e6292c12b50d415ee56da6cc8189d |
|
BLAKE2b-256 | 7cdb06d1d38366bba8441bd551d20f35f363613bcb14731bf03ca7ea1cd1a0af |
Hashes for mpi4py-3.0.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4faa759cf363752d6a1460922431530d4c40ccf8780e332fb7d3b3990ceda8f5 |
|
MD5 | 9b3da32e94d873374f92034f24526170 |
|
BLAKE2b-256 | 46da9f487a1dda7b116fef40d75ed62d8b32fc39d7dcdf73f7232c5d96472922 |
Hashes for mpi4py-3.0.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9453a5d93df3c687fc1ed214a3981a6721d7fb1f86afd918a72b27556b6f5e1 |
|
MD5 | ca6d206822328375da55f47efecdf617 |
|
BLAKE2b-256 | 8ea7f55f87e3fe2abae0f194d1c12d05199b67838d9e84cde1c9f05313a57db9 |
Hashes for mpi4py-3.0.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c6b2bfc3eae756142158439d6108d53e208976e3882377afe921e6c60df3034 |
|
MD5 | 5927f0f2174cf016d9b8c03c973b7420 |
|
BLAKE2b-256 | bace7f6f7916a364b43c9b924e7901143325e0d3290a5d1f499766a722662195 |
Hashes for mpi4py-3.0.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f46f06eb2230e958bfc24d6509f1679b4843f9f35ef79c89aecede91f3b21842 |
|
MD5 | b475b92da3205230bb1eb8de09db9947 |
|
BLAKE2b-256 | 19758b66f691ae989b25f403a15766ca36411e13928b7daaed3d18fb2efd7a68 |
Hashes for mpi4py-3.0.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0f2caea8906de62239f34f275306693093d600b23070709713d97a1849edb66 |
|
MD5 | 4298df77e45bfe8b0c48143809a6a68a |
|
BLAKE2b-256 | 9c3de3c65860d0e12ba1d75f27246fe13a24d18f8fe74aafc21b421e4ec8083f |
Hashes for mpi4py-3.0.3-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f11495188ffbf6550faa1f029d139f155d88fe25efde4def8dff22d4d66376 |
|
MD5 | 3dce9184441082d97867e63bcbca5c77 |
|
BLAKE2b-256 | 0535a1dc40f7fc9ce1343c72c5cd6cc12f29c8120017103a878f3d638db3ad77 |
Hashes for mpi4py-3.0.3-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db8531579b777e2bafb1b004224206685614069d276ff1d9a9f4c6c9b44485d9 |
|
MD5 | 5ec9d2ff8962388466b2f909fb451e00 |
|
BLAKE2b-256 | 75db339845c9506b078b0713fd386b3a3332c62ee7d6630a8cf13c57b14b7ec9 |
Hashes for mpi4py-3.0.3-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ffc1a7b7e4afe9f117aecd0d0cf923add96c821fb652ff99a3368ecea9ddb6 |
|
MD5 | 8ccc0c6e89dfdf4fb53f7be08fe6109f |
|
BLAKE2b-256 | d818900b97f626834be28218de744d70618c4c006fbfb42811b51a94be4eb346 |
Hashes for mpi4py-3.0.3-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a533c8c08bbc542fe3e4f0e4ea95e15ee19157a739d84b64ea096a91424e824 |
|
MD5 | 5e9ff312a669cbbf28d42cd5e1cd54c5 |
|
BLAKE2b-256 | b0a025cd4b1b40fc5e1957e3522d0cfec15f469afffb12343665e93cac65ba63 |
Hashes for mpi4py-3.0.3-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf977b5e7f7354b100f74c604035fda467539aa252bdbadec89191c794f40560 |
|
MD5 | 1e8522025cfb5d9dc5e0ca4d8d6fbac3 |
|
BLAKE2b-256 | e6ec55a114f6982f9cbf134e0617af4f92f0b58e7ffe0a0b77af2ff5b2b8339b |
Hashes for mpi4py-3.0.3-cp33-cp33m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31be264534e3b0afb4d1ac8d357424f0742a93a6b604d5ad8c96f6472f62f827 |
|
MD5 | ca0b9db29e7350718daa153d8ac935c1 |
|
BLAKE2b-256 | 43e90f9530d0f80b261e75059ff0169e674332f35ce7ed19cf5f16c12be16292 |
Hashes for mpi4py-3.0.3-cp33-cp33m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1799de61b8b755cd20ab7aca078892ca4f0dc7c96c63c231082dfe7d81644a8c |
|
MD5 | b570e97123c3bb85b431923500c6f232 |
|
BLAKE2b-256 | 53cf014ef551b282bf5a6f1dd7e530453904595d9ffce1c0830287afbb5d2fac |
Hashes for mpi4py-3.0.3-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f74887a4da0e1b8ea1b393be008da2e1810d08cde899195c927cc8ce40178e86 |
|
MD5 | 4c65709bba1161f2a31516f6aa3798ae |
|
BLAKE2b-256 | 0049ebd60034845ef7e48e8f5ac714b53f19d8602ccbf95efdf6686c22ea6a66 |
Hashes for mpi4py-3.0.3-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6445dd41054a90fa97c649d3dc9d70511d129831cc1806bbe9628eab4e72fe30 |
|
MD5 | 147d024fb3bf5da7347ccdb12f3dc8d4 |
|
BLAKE2b-256 | f6318c82ff6ff8d4334c5cfd4221deae729468bba39058d8e0c3242b08d0f81f |