[petsc-users] petscprint problem

Matthew Knepley knepley at gmail.com
Thu Feb 9 20:42:23 CST 2017


Who prints is controlled by what communicator you pass it. If you want 1
person to print, use PETSC_COMM_WORLD.

   Matt

On Thu, Feb 9, 2017 at 8:28 PM, Sharp Stone <thronesf at gmail.com> wrote:

> Hi,
>
> I use "PetscPrintf" and "PetscFPrintf" to make outputs in my code. In
> Linux, it works fine. But now I run the code in Cray cluster, I found every
> process will make a output, which make me go crazy and confused. Any ideas?
>
> Thanks!
>
> --
> Best regards,
>
> Feng
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170209/6f1c5463/attachment.html>


More information about the petsc-users mailing list