Question about -log_summary option

Nguyen, Hung V ERDC-ITL-MS Hung.V.Nguyen at
Wed Oct 28 14:21:41 CDT 2009

Thank you. That's what I guess. I don't plan to profile my own codes. I am
just wondering if I can use it or not.


-----Original Message-----
From: petsc-users-bounces at
[mailto:petsc-users-bounces at] On Behalf Of Jed Brown
Sent: Wednesday, October 28, 2009 2:16 PM
To: petsc-users at
Subject: Re: Question about -log_summary option

Nguyen, Hung V ERDC-ITL-MS wrote:
> Hello,
> When running with -log_summary option, I got the information about 
> Flops/sec as below. My question is whether Petsc does counting 
> floating-point operations for the whole application codes or only part with

PETSc doesn't magically know what your code is doing.  You can register
events and call PetscLogFlops() if you want to profile your own code.


More information about the petsc-users mailing list