This requires the code calls PetscFinalize().<div>If you want to get the log summary in a file, at any stage during the execution, you can use</div><div><span style="font-family:'.HelveticaNeueUI';line-height:19px;white-space:nowrap"><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Profiling/PetscLogView.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Profiling/PetscLogView.html</a></span><br></div><div><br></div><div>Cheers,</div><div>  Dave</div><div><br>On Monday, 12 January 2015, Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mark Adams <<a href="javascript:;" onclick="_e(event, 'cvml', 'mfadams@lbl.gov')">mfadams@lbl.gov</a>> writes:<br>
<br>
> Is there a command line option to send -log_summary stuff to a file instead<br>
> of stdout?<br>
<br>
Did you try -log_summary FILENAME?<br>
</blockquote></div>