mpi4py.util.dtlib¶
New in version 3.1.0.
The mpi4py.util.dtlib
module provides converter routines between NumPy
and MPI datatypes.
- mpi4py.util.dtlib.from_numpy_dtype(dtype: numpy.DTypeLike) Datatype ¶
Convert NumPy datatype to MPI datatype.
- mpi4py.util.dtlib.to_numpy_dtype(datatype: Datatype) numpy.dtype ¶
Convert MPI datatype to NumPy datatype.