PetscViewerFlowControlStepWorker#

Wait on a worker MPI process until the flow-control window includes this rank

Synopsis#

#include "petscviewer.h" 
PetscErrorCode PetscViewerFlowControlStepWorker(PetscViewer viewer, PetscMPIInt rank, PetscInt *mcnt)

Collective

Input Parameters#

  • viewer - the binary viewer

  • rank - the calling MPI process rank

Input/Output Parameter#

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

Note#

Blocks in a loop of MPI_Bcast() until the main MPI process (through PetscViewerFlowControlStepMain()) advances the window past this rank, giving the worker permission to perform its I/O.

See Also#

PetscViewer, PetscViewerFlowControlStart(), PetscViewerFlowControlStepMain(), PetscViewerFlowControlEndMain(), PetscViewerFlowControlEndWorker()

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