Question about -log_summary option

Jed Brown jed at 59A2.org
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.

Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091028/384a4838/attachment.pgp>


More information about the petsc-users mailing list