[petsc-users] -log_summary output in PETSc 3.5.2

Barry Smith bsmith at mcs.anl.gov
Mon Oct 13 18:26:48 CDT 2014


  -log_view :filename:ASCII_INFO_DETAIL

   It saves information from each process in one file in Python so it is easy to process the summaries you want.

 Barry


On Oct 13, 2014, at 6:04 PM, Constantine Khroulev <c.khroulev at gmail.com> wrote:

> Hello PETSc developers,
> 
> Is there a way to get profiling stats similar to -log_summary, but in
> a format that can be processed programmatically?
> 
> As far as I can tell, current -log_summary output is tricky to parse:
> whether output is space-separated depends on values that are printed.
> In addition to this, a long event name changes offsets from the
> beginning of the line for a given column, so extracting string subsets
> using offsets is also unreliable.
> 
> Thanks!
> -- 
> Constantine



More information about the petsc-users mailing list