:orphan:
# PetscViewerBinarySetSkipInfo
Binary file will not have `.info` file created with it 
## Synopsis
```
#include "petscviewer.h"   
PetscErrorCode PetscViewerBinarySetSkipInfo(PetscViewer viewer, PetscBool skip)
```
Not Collective


## Input Parameters

- ***viewer -*** PetscViewer context, obtained from `PetscViewerCreate()`
- ***skip -*** `PETSC_TRUE` implies the `.info` file will not be generated



## Options Database Key

- ***-viewer_binary_skip_info -*** true indicates do not generate `.info` file





## Notes
This must be called after `PetscViewerSetType()`. If you use `PetscViewerBinaryOpen()` then
you can only skip the info file with the `-viewer_binary_skip_info` flag. To use the function you must open the
viewer with `PetscViewerCreate()`, `PetscViewerSetType()`, `PetscViewerBinarySkipInfo()`.

The `.info` file contains meta information about the data in the binary file, for example the block size if it was
set for a vector or matrix.


## See Also
 [](sec_viewers), `PETSCVIEWERBINARY`, `PetscViewerBinaryOpen()`, `PetscViewerBinaryGetDescriptor()`, `PetscViewerBinarySetSkipOptions()`,
`PetscViewerBinaryGetSkipOptions()`, `PetscViewerBinaryGetSkipInfo()`, `PetscViewerBinaryGetInfoPointer()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/binary/binv.c.html#PetscViewerBinarySetSkipInfo">src/sys/classes/viewer/impls/binary/binv.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/impls/binary/binv.c.html#PetscViewerBinarySetSkipInfo_Binary">PetscViewerBinarySetSkipInfo_Binary in src/sys/classes/viewer/impls/binary/binv.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/impls/binary/binv.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)  
