As a side note to this discussion, on some machines, a call to flush will "interleave" the output from write(*,*) with the PETSc output instead of buffering it until the end.
-sanjay > > > P.S. The reason why I care is because on any compiler I've used (other > than Intel), write(*,*) prints out at different times and not in > sequence with PETSc so all my output comes out after PETSc is done > outputting. Using PetscPrintf, I can have everything print out in order. >
