[petsc-users] PetscPrintf

Xiangdong Liang xdliang at gmail.com
Tue Dec 13 10:13:00 CST 2011


Hello everyone,

I am using PetscPrintf(PETSC_COMM_WORLD,.....) to print out some
information. When I run the program on multiple processors, some of
these calls are printed out multiple times, while other calls are
printed out once. Should it be printed only once if I use
PETSC_COMM_WORLD? Thanks.

Xiangdong

PS. I am using petsc-dev. My code works fine on real petsc-3.1-p8. I
just switched to complex petsc-dev and see this problem.


More information about the petsc-users mailing list