[petsc-users] Tracing PETSc codes

Barry Smith bsmith at mcs.anl.gov
Sat Sep 2 19:09:23 CDT 2017


  What do you mean by trace?  The PETSc -log_view option gives a high level view of where the time is being spent, vector operations, preconditioners etc. This is usually all you need to understand where the time is being spent and what might need to be optimized.

   Barry

> On Sep 2, 2017, at 6:59 PM, Afrah Najib <afrah.nacib at gmail.com> wrote:
> 
> Hi,
> How can I trace PETSc codes to better understand what's going on?
> 
> I installed code::blocks [http://www.codeblocks.org/downloads] but I know that just pressing build/ run with the default options will not help.
> 
> Can I trace the codes of PETSc ? Which environment you recommend?
> 
> Thanks a lot



More information about the petsc-users mailing list