[petsc-users] View wall-clock time of a PETSc function via command-line

Matthew Knepley knepley at gmail.com
Tue Jul 5 12:14:05 CDT 2016


On Tue, Jul 5, 2016 at 11:52 AM, Justin Chang <jychang48 at gmail.com> wrote:

> Okay, thanks!
>

Or -log_view ::ascii_info_detailed and then upload that module to Python.
This is how I do it in scripts.

   Matt


> On Tue, Jul 5, 2016 at 11:50 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>>
>>   ./ex1 -log_view | grep KSPSolve
>>
>>   or
>>
>>    ./ex1 -log_view | egrep "(KSPSolve|SNESSolve)"
>>
>>
>> > On Jul 5, 2016, at 11:46 AM, Justin Chang <jychang48 at gmail.com> wrote:
>> >
>> > Hi all,
>> >
>> > Is there a quick way (e.g., through command-line options) to output the
>> wall-clock time of a PETSc function (e.g., SNESSolve(), KSPSolve(), etc)
>> without outputting the entire -log_view?
>> >
>> > Thanks,
>> > Justin
>>
>>
>


-- 
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/20160705/b843f925/attachment.html>


More information about the petsc-users mailing list