write_line error

Dominik Szczerba dominik at itis.ethz.ch
Sat Nov 14 15:14:45 CST 2009


OK that was very useful: due to some hasty changes I was calling 
MPI_Finalize without MPI_Init (calling only PetscInitialize and 
PetscFinalize).
Thanks a lot!

Jed Brown wrote:
> Dominik Szczerba wrote:
>> Yes I saw that post in google before but I was not able to conclude much
>> for myself...
>>
>> Interesting is it happens after all the usual (success) messages, e.g.
> 
> That is because it is produced in MPI_Finalize() which PETSc only calls
> after it is done with everything else (including the output you cite).
> You can initialize MPI yourself or set a breakpoint on MPI_Finalize to
> confirm, but none of this output is produced by PETSc.
> 
> Jed
> 



More information about the petsc-users mailing list