PETSc version 3.17.4
Fix/Edit manual page

# 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