Skip to content

3.1.0

Compare
Choose a tag to compare
@dalcinl dalcinl released this 12 Aug 08:13
· 777 commits to master since this release

WARNING: This is the last release supporting Python 2.

  • New features:

    • mpi4py.util: New package collecting miscellaneous utilities.
  • Enhancements:

    • Add pickle-based Request.waitsome() and Request.testsome().

    • Add lowercase methods Request.get_status() and Request.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 pattern MPI4PY_FUTURES_*, the
      previous MPI4PY_* 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.