PETSC_COMM_SELF — PETSc 3.23.0 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/dm/tutorials/swarm_ex3.c
src/dm/impls/plex/tutorials/ex10.c
src/dm/impls/plex/tutorials/ex6.c
src/dm/impls/plex/tutorials/ex8.c
src/dm/impls/plex/tutorials/ex11.c
src/dm/tutorials/swarm_ex1.c
src/ksp/ksp/tutorials/ex49.c
src/ksp/ksp/tutorials/ex43.c
src/dm/tutorials/ex6.c
src/ksp/ksp/tutorials/ex51.c

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