[petsc-dev] Fortran interface for PetscViewerASCIISynchronizedAllow

Adrian Croucher a.croucher at auckland.ac.nz
Thu Dec 10 22:35:52 CST 2015



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: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 84611




More information about the petsc-dev mailing list