[petsc-users] Enquiry regarding log summary results
Matthew Knepley
knepley at gmail.com
Thu Sep 27 06:44:49 CDT 2012
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
>
> --
> 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/20120927/90b2a193/attachment.html>
More information about the petsc-users
mailing list