petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscViewerBinarySetUseMPIIO

Sets a binary viewer to use MPI-IO for reading/writing. Must be called before PetscViewerFileSetName()

Synopsis

#include "petscviewer.h"   
PetscErrorCode PetscViewerBinarySetUseMPIIO(PetscViewer viewer,PetscBool use)
Logically Collective on PetscViewer

Input Parameters

viewer - the PetscViewer; must be a binary
use - PETSC_TRUE means MPI-IO will be used

Options Database

-viewer_binary_mpiio : Flag for using MPI-IO

See Also

PetscViewerFileSetMode(), PetscViewerCreate(), PetscViewerSetType(), PetscViewerBinaryOpen(),
PetscViewerBinaryGetUseMPIIO()

Level

advanced

Location

src/sys/classes/viewer/impls/binary/binv.c

Examples

src/dm/tutorials/ex15.c.html

Implementations

PetscViewerBinarySetUseMPIIO_Binary in src/sys/classes/viewer/impls/binary/binv.c

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