[petsc-dev] log_symmary output to file

Patrick Sanan patrick.sanan at gmail.com
Mon Jan 12 15:29:54 CST 2015


In addition to using

-log_summary FILENAME

to dump text files of the log summary, I've also found the following 
very useful recently to dump the log data to python:

-log_view ascii:filename.py:ascii_info_detail

I don't remember the details now, but I submitted a patch somewhat 
recently that fixed a minor bug that was preventing me from using this 
feature, and it's worked well for me since then.

-Patrick

On 12/01/15 09:58 PM, Dave May wrote:
> This requires the code calls PetscFinalize().
> If you want to get the log summary in a file, at any stage during the 
> execution, you can use
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Profiling/PetscLogView.html
>
> Cheers,
>   Dave
>
> On Monday, 12 January 2015, Jed Brown <jed at jedbrown.org 
> <mailto:jed at jedbrown.org>> wrote:
>
>     Mark Adams <mfadams at lbl.gov <javascript:;>> writes:
>
>     > Is there a command line option to send -log_summary stuff to a
>     file instead
>     > of stdout?
>
>     Did you try -log_summary FILENAME?
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150112/f404411d/attachment.html>


More information about the petsc-dev mailing list