crumb trail: > petsc > Communicators
PETSc has a `world' communicator, which by default equals MPI_COMM_WORLD . If you want to run PETSc on a subset of processes, you can assign a subcommunicator to the variable PETSC_COMM_WORLD in between the calls to MPI_Init and PetscInitialize . Petsc communicators are of type PetscComm .