[petsc-users] saving log info

Jed Brown jed at jedbrown.org
Thu Jan 30 16:45:28 CST 2014


Mohammad Mirzadeh <mirzadeh at gmail.com> writes:

> Hi guys,
>
> I'd like to be able to post-process the values reported by -log_summary. Is
> there any programmatic way to extract the data and save it manually to a
> file?
>
> If not, is there any parser that go over stdout dump and extract the info?

I made a somewhat specialized parser and plotter here

  https://github.com/jedbrown/petscplot

Unfortunately, I never turned it into a library or easily-reusable tool.
These plots were for convergence performance with grid sequencing.

https://github.com/jedbrown/petscplot/wiki/PETSc-Plot


The parser is robust and easy to modify for whatever grammar you have
(depending on what you're logging).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140130/708e2c56/attachment.pgp>


More information about the petsc-users mailing list