Skip to main content
`Ctrl`+`K`

# MPIU_INT

Portable MPI datatype corresponding to `PetscInt` independent of the precision of `PetscInt`

## Note

In MPI calls that require an MPI datatype that matches a `PetscInt` or array of `PetscInt` values, pass this value.

## See Also

`PetscReal`, `PetscScalar`, `PetscComplex`, `PetscInt`, `MPIU_COUNT`, `MPIU_REAL`, `MPIU_SCALAR`, `MPIU_COMPLEX`

## Level

beginner

## Location

include/petscsys.h

## Examples

src/ksp/ksp/tutorials/ex82.c
src/ts/tutorials/ex11_sa.c
src/dm/impls/plex/tutorials/ex16.c
src/ksp/ksp/tutorials/ex73.c
src/ksp/ksp/tutorials/bench_kspsolve.c
src/dm/impls/plex/tutorials/ex10.c
src/ksp/pc/tutorials/ex4.c
src/snes/tutorials/ex48.c
src/ksp/ksp/tutorials/ex70.c
src/snes/tutorials/ex13.c

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