problem with PetscSynchronizedFPrintf (fwd)

Satish Balay balay at
Mon Jul 21 10:37:18 CDT 2008

---------- Forwarded message ----------
Date: Sun, 20 Jul 2008 22:39:13 -0700 (PDT)
From: Shi Jin <jinzishuai at>
Subject: problem with PetscSynchronizedFPrintf
To: petsc-dev at


I recently updated my petsc-dev and found my previously working code is having trouble running in parallel. I've narrowed it down to the calls to PetscSynchronizedFPrintf. Even if I don't have those, I will have errors at the end of my MPI runs like:
[1]PETSC ERROR: PetscMemzero() line 189 in src/sys/utils/memc.c
[1]PETSC ERROR: PetscViewerASCIISynchronizedPrintf() line 859 in src/sys/viewer/impls/ascii/filev.c
[1]PETSC ERROR: PetscMemoryShowUsage() line 367 in src/sys/memory/mtr.c
[1]PETSC ERROR: PetscFinalize() line 675 in src/sys/objects/pinit.c
[1]PETSC ERROR: completeSection() line 163 in main.cxx
[0]0:Return code = 0, signaled with Interrupt
[0]1:Return code = 85

Since the same code was running fine before the update. I am wondering if it is something recently introduced. 
Thanks a lot.

Shi Jin, PhD


More information about the petsc-dev mailing list