[petsc-users] saving log info

Matthew Knepley knepley at gmail.com
Thu Jan 30 23:08:32 CST 2014


On Thu, Jan 30, 2014 at 5:56 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>   master now has a viewer that dumps the raw data in Python, then you can
> write python scripts to process it any way you want. -log_view
> ascii:filename:ascii_info_detail  sample python script in
> bin/pythonscripts/petsclogformat.py
>
>   I personally think that parsing the output of -log_summary (which has
> already been formatted) is a silly wrong headed approach.


Cool, I will look at switching src/benchmarks/benchmarkExample.py to this.

   Matt


>
>    Barry
>
> On Jan 30, 2014, at 4:26 PM, Mohammad Mirzadeh <mirzadeh at gmail.com> wrote:
>
> > 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?
> >
> > Mohammad
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140130/2ea40652/attachment.html>


More information about the petsc-users mailing list