3.1.0
WARNING: This is the last release supporting Python 2.
-
New features:
mpi4py.util
: New package collecting miscellaneous utilities.
-
Enhancements:
-
Add pickle-based
Request.waitsome()
andRequest.testsome()
. -
Add lowercase methods
Request.get_status()
andRequest.cancel()
. -
Support for passing Python GPU arrays compliant with the
DLPack
_ data
interchange mechanism (link) and the__cuda_array_interface__
(CAI) standard (link) to uppercase methods. This support requires
that mpi4py is built against CUDA-aware MPI implementations. This
feature is currently experimental and subject to future changes. -
mpi4py.futures
: Add support for initializers and canceling futures at shutdown.
Environment variables names now follow the patternMPI4PY_FUTURES_*
, the
previousMPI4PY_*
names are deprecated. -
Add type annotations to Cython code. The first line of the docstring of functions
and methods displays a signature including type annotations. -
Add companion stub files to support type checkers.
-
Support for weak references.
-
-
Miscellaneous:
- Add a new mpi4py publication (link) to the citation listing.