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