[petsc-users] -log_summary
Satish Balay
balay at mcs.anl.gov
Tue Mar 16 10:41:57 CDT 2010
On Tue, 16 Mar 2010, burckhardt at itis.ethz.ch wrote:
> Hi Barry,
>
> > Hmm, you shouldn't need to use a PetscLogBegin() after PetscInitialize().
> > When -log_summary is used PetscLogBegin() is automatically called by
> > PetscInitialize(). I cannot explain the behavior you are seeing.
>
> I the fact that the Petsc options are read from a file after PetscInitialize()
> a possible explanation?
Yes thats the reason.
-log_summary is processed by PetscInitialize() - so if options are
read-in after PetscInitialize() - you'll need to explicitly call
PetscLogBegin().
Satish
More information about the petsc-users
mailing list