[petsc-dev] About PreLoad

Ryan Yan vyan2000 at gmail.com
Thu Jun 30 17:47:15 CDT 2011


Dear All,
I am using a developer version of  PETSc code to test a solver code.

The code loads a matrix, and solves the matrix by method
A first and then method B. In each method of A and B, I setup KSP, solve,
and then destroy KSP. So in this process, I set up KSP twice and destroy
the KSP object twice.

I am using the PreLoadxxx to do the profiling but seems like part of the
profiling information is missing.

PreLoadBegin(PETSC_TRUE, "A"),
PreLoadStage((PETSC_TRUE, "B"),
PreLoadEnd()

The missing part is:


Event                Count      Time (sec)
Flops                             --- Global ---  --- Stage ---   Total
                   Max Ratio  Max     Ratio   Max  Ratio  Mess   Avg len
Reduct  %T %F %M %L %R  %T %F %M %L %R Mflop/s
------------------------------------------------------------------------------------------------------------------------

--- Event Stage 0: Main Stage


--- Event Stage 1: A


--- Event Stage 2: B

------------------------------------------------------------------------------------------------------------------------


Is there any way to workaround this?

Many thanks,

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


More information about the petsc-dev mailing list