# PETSC_VIEWER_EXODUSII_
Creates an `PETSCVIEWEREXODUSII` `PetscViewer` shared by all processors in a communicator. 
## Synopsis
```
#include "petscdmplex.h"   
PetscViewer PETSC_VIEWER_EXODUSII_(MPI_Comm comm)
```
Collective


## Input Parameter

- ***comm -*** the MPI communicator to share the `PETSCVIEWEREXODUSII` `PetscViewer`





## Note
Unlike almost all other PETSc routines, PETSC_VIEWER_EXODUSII_ does not return
an error code.  The GLVIS PetscViewer is usually used in the form
```none
XXXView(XXX object, PETSC_VIEWER_EXODUSII_(comm));
```


## Fortran Note
No support in Fortran


## See Also
 `PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewer`, `PetscViewerExodusIIOpen()`, `PetscViewerType`, `PetscViewerCreate()`, `PetscViewerDestroy()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexexodusii.c.html#PETSC_VIEWER_EXODUSII_">src/dm/impls/plex/plexexodusii.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexexodusii.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
