MPIU_Count#

PETSc datatype used to hold message-size counts for large MPI messages

Note#

When the underlying MPI implementation supports MPI_Count (which is wide enough to express counts that do not fit in int), MPIU_Count is a typedef for MPI_Count; otherwise it is defined as PetscInt64. Use MPIU_Count together with the PETSc MPI wrappers such as MPIU_Send(), MPIU_Recv(), and MPIU_Allreduce() so that codes can be written portably regardless of the available MPI version.

See Also#

MPI_Count, MPIU_COUNT, MPIU_Send(), MPIU_Recv(), MPIU_Reduce(), PetscInt64

Level#

intermediate

Location#

include/petscsys.h


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages