On 11/12/15 17:09, Barry Smith wrote:
(Unless you can somehow use the PetscViewerASCII routines for synchronized output to stdout instead?)Yes, this is what I recommend. The PetscSynchronizedPrintf() routines are older, lower level routines which have equivalent versions that use the viewer PetscViewerASCII...() Since the C FILE * object doesn't exist in Fortran things like PetscSynchronizedFlush() are problematic. But everything should be clean and clear with the PetscViewerASCII..() routines.
Thanks again. That seems to work fine. - Adrian -- Dr Adrian Croucher Senior Research Fellow Department of Engineering Science University of Auckland, New Zealand email: [email protected] tel: +64 (0)9 923 84611
