[petsc-users] Enquiry regarding log summary results

Jed Brown jedbrown at mcs.anl.gov
Sun Sep 30 16:30:03 CDT 2012


You can measure the time spent in Hypre via PCApply and PCSetUp, but you
can't get finer grained integrated profiling because it was not set up that
way.
On Sep 30, 2012 3:26 PM, "TAY wee-beng" <zonexo at gmail.com> wrote:

>  On 27/9/2012 1:44 PM, Matthew Knepley wrote:
>
> On Thu, Sep 27, 2012 at 3:49 AM, TAY wee-beng <zonexo at gmail.com> wrote:
>
>> Hi,
>>
>> I'm doing a log summary for my 3d cfd code. I have some questions:
>>
>> 1. if I'm solving 3 linear equations using ksp, is the result given in
>> the log summary the total of the 3 linear eqns' performance? How can I get
>> the performance for each individual eqn?
>>
>
>  Use logging stages:
> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Profiling/PetscLogStagePush.html
>
>
>> 2. If I run my code for 10 time steps, does the log summary gives the
>> total or avg performance/ratio?
>>
>
>  Total.
>
>
>> 3. Besides PETSc, I'm also using HYPRE's native geometric MG (Struct) to
>> solve my Cartesian's grid CFD poisson eqn. Is there any way I can use
>> PETSc's log summary to get HYPRE's performance? If I use boomerAMG thru
>> PETSc, can I get its performance?
>
>
>  If you mean flops, only if you count them yourself and tell PETSc using
> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Profiling/PetscLogFlops.html
>
>  This is the disadvantage of using packages that do not properly monitor
> things :)
>
>      Matt
>
>
> So u mean if I use boomerAMG thru PETSc, there is no proper way of
> evaluating its performance, beside using PetscLogFlops?
>
>
>> --
>> Yours sincerely,
>>
>> TAY wee-beng
>>
>>
>
>
>  --
> 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/20120930/39d2bd54/attachment.html>


More information about the petsc-users mailing list