PetscViewerFlowControlEndWorker#

Wait on a worker MPI process for the main MPI process to signal completion of a flow-controlled viewer operation

Synopsis#

#include "petscviewer.h" 
PetscErrorCode PetscViewerFlowControlEndWorker(PetscViewer viewer, PetscInt *mcnt)

Collective

Input Parameter#

  • viewer - the binary viewer

Input/Output Parameter#

  • mcnt - the flow-control counter; updated with values broadcast from the main MPI process until it becomes 0

Note#

Blocks in a loop of MPI_Bcast() until PetscViewerFlowControlEndMain() sends a mcnt = 0 completion signal.

See Also#

PetscViewer, PetscViewerFlowControlStart(), PetscViewerFlowControlStepMain(), PetscViewerFlowControlEndMain(), PetscViewerFlowControlStepWorker()

Level#

developer

Location#

src/sys/classes/viewer/interface/viewreg.c


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