Question about -log_summary option

Jed Brown jed at
Wed Oct 28 14:15:45 CDT 2009

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?

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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the petsc-users mailing list