On Wed, Jun 20, 2012 at 3:18 AM, Luigia Ambrosio <span dir="ltr"><<a href="mailto:ambrosio.luigia@gmail.com" target="_blank">ambrosio.luigia@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Yes but it's not enough! I nedd the stack of the called methods and kernels.<div>I just sent you my modified ex11 and the results of ./ex11 -log_summary<br><div></div></div></div><br>
<div style="word-wrap:break-word"><div><div></div></div></div><br></blockquote><div><br></div><div>Use the debugger. Its the easiest way to get a stack. However, for the old people here, it</div><div>is also possible to do by looking at the source code.</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 style="word-wrap:break-word"><div><div></div><div>thanks again</div><div>
<br><div>
<div style="word-wrap:break-word"><div>Luigia Ambrosio</div><div><br></div></div><br><br>
</div>
<br><div><div>Il giorno 20/giu/2012, alle ore 10:45, Aron Ahmadia ha scritto:</div><br><blockquote type="cite"><div dir="ltr">Have you tried passing -log_summary to the command line?<div><br></div><div>A<br><br><div class="gmail_quote">
On Wed, Jun 20, 2012 at 11:32 AM, Luigia Ambrosio <span dir="ltr"><<a href="mailto:ambrosio.luigia@gmail.com" target="_blank">ambrosio.luigia@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all
<div>I'm interested in using PETSC with CUDA. I just downloaded and installed the developer version and I was testing the example #1 ($HOME/petsc-dev/src/vec/vec/examples/tutorials) to compute the norm of a vector.</div>


<div>I would like to compare PETSC "without cuda" and "with cuda". Is there a way to profile a PETSC executable, obtain the stack of the called functions and methods and access to the function body?</div>


<div>Can anybody make an exmple?</div><div>Thanks a million</div>
</blockquote></div><br></div></div>
</blockquote></div><br></div></div></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>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<br>