Skip to main content

Numba @njittable MPI wrappers tested on Linux, macOS and Windows

Project description

numba-mpi

Python 3 LLVM Linux OK macOS OK Windows OK Github Actions Status Github Actions Status Maintenance License: GPL v3 PyPI version Anaconda-Server Badge

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


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)

Uploaded Source

Built Distribution

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

numba_mpi-0.18-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for numba-mpi-0.18.tar.gz
Algorithm Hash digest
SHA256 975d895e5a364cc02ca9951137825e3cf659ef2d34ce584ca85bf061de85c829
MD5 b9347cac6536df489391ff10c53d53ca
BLAKE2b-256 cc57c0115f45518a34699f10748a17d21d0c33f7caa0074a0577c172db227735

See more details on using hashes here.

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

Hashes for numba_mpi-0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 80a1d098dc6736b6557f57b43cae7c4b712aa1373c6f1c3e318b40f6f58abd88
MD5 e5088f6d40cb26ade9d2fad28fd12791
BLAKE2b-256 45de68597fa54b0fe1fddd54c14f1e9f0507eb440005d47adea0714f9b8baf4f

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