On Fri, Jun 3, 2011 at 2:57 PM, Alan Wei <span dir="ltr">&lt;<a href="mailto:zhenglun.wei@gmail.com">zhenglun.wei@gmail.com</a>&gt;</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;">
Dear Sir/Madam,<div>    Lately, I read there is a optimized version of PETSc by using &#39;--with-debugging=0&#39;. I have two questions here:</div><div>1, Do I need to use &#39;/config/configure.py ... --with-debugging=0&#39; when I configure the PETSc in order to use the non-debugging version of PETSc? Therefore, if I want to switch PETSc between these two versions, I have to keep configuring. </div>
</blockquote><div><br></div><div>Configure makes a directory with all the information in it (including libraries) for that particular configuration. You set the PETSC_ARCH env var to that string (e.g. linxu-gnu-c-debug)</div>
<div>when you want to use a particular configuration.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>2, I was using the &#39;--with-debugging=0&#39; to configure the PETSc. However, I tested the computational rate by executing the ex29.c. The non-debugging version does not improve the speed much; in the contrary, it slow down the speed a little bit. The comparison is attached here. Any idea on this.</div>
</blockquote><div><br></div><div>The only way we can help on performance questions is to see the output of -log_summary.</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>thanks in advance,</div><div>Alan</div><font color="#888888"><div><br></div>
</font></blockquote></div><br><br clear="all"><br>-- <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>