Bruce,

  Normally PETSc does does not print output unless you ask it, except error 
messages. 

  In C and C++ you can set the global variables
FILE *PETSC_STDOUT and FILE *PETSC_STDERR to any file you like, for example 
/dev/null.  In this way anything PETSc prints will just disappear.

   Barry


> On Jun 17, 2020, at 9:31 AM, Palmer, Bruce J via petsc-users 
> <petsc-users@mcs.anl.gov> wrote:
> 
> Hi,
>  
> I think I may have asked this in the past, but I can’t seem to find the 
> answer in the archive. Is there a way to suppress all printing from PETSc?
>  
> Bruce Palmer
> Senior Research Scientist
> Pacific Northwest National Laboratory
> Richland, WA 99352
> (509) 375-3899

Reply via email to