Numba @njittable MPI wrappers tested on Linux, macOS and Windows
Project description
numba-mpi
Numba @njittable MPI wrappers tested on Linux, macOS and Windows
API documentation is maintained at: https://atmos-cloud-sim-uj.github.io/numba-mpi
Hello world example:
import numba, numba_mpi, numpy
@numba.njit()
def hello():
print(numba_mpi.rank())
print(numba_mpi.size())
src = numpy.array([1., 2., 3., 4., 5.])
dst_tst = numpy.empty_like(src)
if numba_mpi.rank() == 0:
numba_mpi.send(src, dest=1, tag=11)
elif numba_mpi.rank() == 1:
numba_mpi.recv(dst_tst, source=0, tag=11)
hello()
For information on MPI, see:
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
numba-mpi-0.11.tar.gz
(19.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
numba_mpi-0.11-py3-none-any.whl
(16.3 kB
view details)
File details
Details for the file numba-mpi-0.11.tar.gz.
File metadata
- Download URL: numba-mpi-0.11.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee4ee6fff7b96a2803bb16fe186ed2612ef8414191dffdeac4c2d72552e728a
|
|
| MD5 |
1f44ddfe54be3be09be9928ebad66d4d
|
|
| BLAKE2b-256 |
d651d61c961ec67907d2176c47c43d9c2d132c8171b9f886ee9eb87909e8ed04
|
File details
Details for the file numba_mpi-0.11-py3-none-any.whl.
File metadata
- Download URL: numba_mpi-0.11-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f29cf01a21060028a1cae4175749d9cb19a54b5c44788b72a6a31bd471fc8a27
|
|
| MD5 |
e496c54d38373f8b41b39f9a0efe79ba
|
|
| BLAKE2b-256 |
d4bbbe328d638a0cade949b6470f3ded94c2b728db76b2c9267ac8fd5e1824a6
|