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 <[email protected]> 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

Reply via email to