PetscSetCommWorld
Sets a communicator to be PETSc's world communicator (default is MPI_COMM_WORLD). Must call BEFORE PetscInitialize().
Synopsis
int PetscSetCommWorld(MPI_Comm comm)
Collective on
MPI_Comm
Input Parameter
comm -the communicator
Note
This routine is intended for users who need to initialize PETSc on
asubset of processors within a larger job. Thus, most users need
notcall this routine.
Keywords
set, communicator, world
Location: src/sys/src/objectspcomm.c
System Index
Table of Contents