#include "petscviewer.h" PetscErrorCode PetscViewerBinaryAddMPIIOOffset(PetscViewer viewer,MPI_Offset off)Logically Collective
viewer | - PetscViewer context, obtained from PetscViewerBinaryOpen() | |
off | - the addition to the global offset |
Use PetscViewerBinaryGetMPIIOOffset() to get the value that you should pass to MPI_File_set_view() or MPI_File_{write|read}_at[_all]()