<div dir="ltr"><div><div>Matt, thank you for the response. <br><br>For flop monitoring, are they hardware counts or manually counted? That is, would the flops documented by PETSc be affected by overhead factors like memory bandwidth, latency, etc, thus potentially giving you "poor efficiency" with respect to the theoretical performance?<br><br></div>Also, are these flops the flops noted in -log_summary?<br><br></div>Thanks,<br>Justin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 5:42 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, Feb 17, 2015 at 8:12 PM, Justin Chang <span dir="ltr"><<a href="mailto:jychang48@gmail.com" target="_blank">jychang48@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all,<br><br>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? <br></div></div></blockquote><div><br></div></span><div>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.</div><div>Feel free to add other events.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div>Thanks,<br>Justin<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</font></span></div></div>
</blockquote></div><br></div>