[petsc-dev] any script to extract data from "-log_view"?

Matthew Knepley knepley at gmail.com
Wed Aug 8 19:57:00 CDT 2018

On Wed, Aug 8, 2018 at 7:23 PM Fande Kong <fdkong.jd at gmail.com> wrote:

> Hi all,
> If we are going to do a scaling study, can we automatically make a plot
> based on a bunch of output files (from -log_view)? It is a big pain to
> manually copy data if we have a lot of output files.

I use

  -log_view :run1.py:ascii_info_detail

and then import run1.py. You probably want __import__ so that you can
import all the modules programmatically. I am doing exactly this to automate
scaling. Hopefully we can do it for you in a couple of weeks.



> Fande,

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

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180808/00164a76/attachment.html>

More information about the petsc-dev mailing list