PETSC_COMM_SELF — PETSc 3.25.2 documentation

Skip to main content
`Ctrl`+`K`

# PETSC_COMM_SELF

This is always `MPI_COMM_SELF`

## Note

Do not USE/access or set this variable before `PetscInitialize()` has been called.

## See Also

`PETSC_COMM_WORLD`

## Level

beginner

## Location

include/petscsys.h

## Examples

src/ksp/ksp/tutorials/ex51.c
src/dm/tutorials/ex11f90.F90
src/dm/impls/plex/tutorials/ex11.c
src/dm/tutorials/swarm_ex1.c
src/dm/impls/plex/tutorials/ex8.c
src/dm/impls/plex/tutorials/ex1f90.F90
src/dm/tutorials/ex6.c
src/dm/impls/plex/tutorials/ex6.c
src/dm/impls/plex/tutorials/ex10.c
src/dm/tutorials/swarm_ex3.c

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