Skip to main content
Ctrl+K
PETSc v3.26.1-331-g44efd75427f9 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PetscViewerB...

PetscViewerBinarySetUseMPIIO#

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

Synopsis#

PetscErrorCode PetscViewerBinarySetUseMPIIO(PetscViewer viewer, PetscBool use)

Logically Collective

Input Parameters#

  • viewer - the PetscViewer; must be a PETSCVIEWERBINARY

  • use - PETSC_TRUE means MPI-IO will be used

Options Database Key#

  • -viewer_binary_mpiio (true|false) - flag for using MPI-IO

See Also#

Viewers: Looking at PETSc Objects, PETSCVIEWERBINARY, PetscViewerFileSetMode(), PetscViewerCreate(), PetscViewerSetType(), PetscViewerBinaryOpen(), PetscViewerBinaryGetUseMPIIO()

Level#

advanced

Location#

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

Examples#

src/dm/tutorials/ex15.c
src/vec/vec/tests/ex46.c

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

On this page
  • Synopsis
  • Input Parameters
  • Options Database Key
  • See Also
  • Level
  • Location
  • Examples
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-11-08T03:39:45-0600 (v3.26.1-331-g44efd75427f9).