[petsc-users] PAPI availability

Matthew Knepley knepley at gmail.com
Wed Feb 18 05:42:22 CST 2015


On Tue, Feb 17, 2015 at 8:12 PM, Justin Chang <jychang48 at gmail.com> wrote:

> Hi all,
>
> I want to document some profiling metrics like cache hits/misses using
> PAPI. Does PETSc automatically come with PAPI, or is it something I have to
> declare when configuring PETSc?
>

You can turn on PAPI by configuring using --with-papi, just like other
packages (might need the --with-papi-dir too). Right now, we only monitor
flops.
Feel free to add other events.

  Thanks,

   Matt


> Thanks,
> Justin
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150218/d2b0cf79/attachment.html>


More information about the petsc-users mailing list