:orphan:
# MPIU_INT
Portable MPI datatype corresponding to `PetscInt` independent of the precision of `PetscInt`
## Notes
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_REAL`, `MPIU_SCALAR`, `MPIU_COMPLEX`
## Level
beginner
## Location
include/petscsys.h
## Examples
src/dm/impls/plex/tutorials/ex10.c
src/ksp/ksp/tutorials/bench_kspsolve.c
src/ksp/ksp/tutorials/ex70.c
src/ksp/ksp/tutorials/ex73.c
src/ksp/ksp/tutorials/ex82.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex48.c
src/ts/tutorials/ex11_sa.c
src/ts/tutorials/ex14.c
src/vec/is/sf/tutorials/ex1.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsys.h)
[Index of all Sys routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)