mpi_array.types.create_datatype¶
-
mpi_array.types.
create_datatype
(dtyp)[source]¶ Creates a
mpi4py.MPI.Datatype
from a givennumpy.dtype
.Parameters: dtyp ( numpy.dtype
) – This gets converted to ampi4py.MPI.Datatype
.Return type: mpi4py.MPI.Datatype
Returns: A mpi4py.MPI.Datatype
for the givendtyp
.