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.18.tar.gz
(20.7 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.18-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file numba-mpi-0.18.tar.gz.
File metadata
- Download URL: numba-mpi-0.18.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
975d895e5a364cc02ca9951137825e3cf659ef2d34ce584ca85bf061de85c829
|
|
| MD5 |
b9347cac6536df489391ff10c53d53ca
|
|
| BLAKE2b-256 |
cc57c0115f45518a34699f10748a17d21d0c33f7caa0074a0577c172db227735
|
File details
Details for the file numba_mpi-0.18-py3-none-any.whl.
File metadata
- Download URL: numba_mpi-0.18-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80a1d098dc6736b6557f57b43cae7c4b712aa1373c6f1c3e318b40f6f58abd88
|
|
| MD5 |
e5088f6d40cb26ade9d2fad28fd12791
|
|
| BLAKE2b-256 |
45de68597fa54b0fe1fddd54c14f1e9f0507eb440005d47adea0714f9b8baf4f
|