:orphan:
# PETSC_VIEWER_STDOUT_
Creates a `PETSCVIEWERASCII` `PetscViewer` shared by all MPI processes in a communicator. 
## Synopsis
```
#include "petscviewer.h"   
PetscViewer PETSC_VIEWER_STDOUT_(MPI_Comm comm)
```
Collective


## Input Parameter

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





## Note
Unlike almost all other PETSc routines, this does not return
an error code. Usually used in the form
```none
XXXView(XXX object, PETSC_VIEWER_STDOUT_(comm));
```


## See Also
 [](sec_viewers), `PETSC_VIEWER_DRAW_()`, `PetscViewerASCIIOpen()`, `PETSC_VIEWER_STDERR_`, `PETSC_VIEWER_STDOUT_WORLD`,
`PETSC_VIEWER_STDOUT_SELF`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/ascii/vcreatea.c.html#PETSC_VIEWER_STDOUT_">src/sys/classes/viewer/impls/ascii/vcreatea.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/field/tutorials/ex1.c.html">src/dm/field/tutorials/ex1.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex73.c.html">src/ksp/ksp/tutorials/ex73.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/ascii/vcreatea.c)


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