Thank you for your help! <br>The problem is <span id="result_box" class="" lang="en"><span class="hps">resolved smoothly</span> </span><span id="result_box" class="" lang="en"><span class="hps">according</span> <span class="hps">to</span> <span class="hps">your</span> <span class="hps">method</span><span class="">.</span></span> <br>
<br><br><div class="gmail_quote">2012/8/22 Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also,<div><br></div><div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> ##########################################################</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # WARNING!!! #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # This code was compiled with a debugging option, #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # To get timing results run ./configure #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # using --with-debugging=no, the performance will #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # be generally two or three times faster. #</b></font></div>
<div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> # #</b></font></div><div><font face="courier new, monospace" size="4"><b style="background-color:rgb(255,0,0)"> ##########################################################</b></font></div>
<div><div class="h5">
<div><br></div><br><div class="gmail_quote">On Wed, Aug 22, 2012 at 6:07 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>On Wed, Aug 22, 2012 at 5:52 AM, Feng Li <span dir="ltr"><<a href="mailto:fengshen186@gmail.com" target="_blank">fengshen186@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you for your help! <br>The log_summary result is in the attachment.
<br>Please kindly check the attachment! <br></blockquote><div><br></div></div><div>This is not a PETSc change, its a PFLOTRAN change. You have changed the way</div><div>the Jacobian is evaluated. Look at the 3.3 log</div>
<div>
<br></div><div><div>SNESSolve 18 1.0 1.2947e+01 1.0 1.22e+09 1.0 0.0e+00 0.0e+00 0.0e+00 44 83 0 0 0 93100 0 0 0 94</div><div>SNESFunctionEval 39 1.0 3.3130e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 11 0 0 0 0 24 0 0 0 0 0</div>
<div>SNESJacobianEval 21 1.0 4.2020e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 14 0 0 0 0 30 0 0 0 0 0</div></div><div><div>SNESLineSearch 21 1.0 1.8140e+00 1.0 4.82e+06 1.0 0.0e+00 0.0e+00 0.0e+00 6 0 0 0 0 13 0 0 0 0 3</div>
<div>KSPGMRESOrthog 470 1.0 8.2534e-01 1.0 7.25e+08 1.0 0.0e+00 0.0e+00 0.0e+00 3 50 0 0 0 6 59 0 0 0 879</div></div><div><br></div><div>against the dev log</div><div><br></div><div><div>SNESSolve 18 1.0 4.3973e+01 1.0 1.22e+09 1.0 0.0e+00 0.0e+00 0.0e+00 40 83 0 0 0 98100 0 0 0 28</div>
<div>SNESFunctionEval 39 1.0 3.2787e+00 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 3 0 0 0 0 7 0 0 0 0 0</div><div>SNESJacobianEval 21 1.0 3.5318e+01 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 32 0 0 0 0 79 0 0 0 0 0</div>
<div>SNESLineSearch 21 1.0 1.8007e+00 1.0 4.82e+06 1.0 0.0e+00 0.0e+00 0.0e+00 2 0 0 0 0 4 0 0 0 0 3</div></div><div><div>KSPGMRESOrthog 470 1.0 8.0665e-01 1.0 7.25e+08 1.0 0.0e+00 0.0e+00 0.0e+00 1 50 0 0 0 2 59 0 0 0 899</div>
</div><div><br></div><div>The huge difference here comes from the Jacobian evaluation, which we do not control.</div><div><br></div><div> Matt</div><div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote">2012/8/22 Aron Ahmadia <span dir="ltr"><<a href="mailto:aron.ahmadia@kaust.edu.sa" target="_blank">aron.ahmadia@kaust.edu.sa</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you re-run both codes with: -log_summary please?<br>
<br>
A<br>
<div><div><br>
On Wed, Aug 22, 2012 at 10:43 AM, Feng Li <<a href="mailto:fengshen186@gmail.com" target="_blank">fengshen186@gmail.com</a>> wrote:<br>
> The performance of petsc_3.3p2 is five times faster than petsc_dev-r24197.<br>
> Why?<br>
><br>
> It is tested with pflotran example problem 100x100x100.<br>
> config parameter£º--with-mpi=0 --CC=gcc --FC=gfortran --CCFLAGS="-g -O2"<br>
> --FCFLAGS="-g -O2" --blas-lapack-dir=$MKLROOT<br>
><br>
> detail time:<br>
> petsc_3.3p2 petsc_dev24197<br>
> walltime(sec) 28.116 110.25<br>
><br>
> Thank you!<span><font color="#888888"><br>
<br>
</font></span></div></div><span><font color="#888888"><span><font color="#888888">--<br>
<br>
------------------------------<br>
This message and its contents, including attachments are intended solely<br>
for the original recipient. If you are not the intended recipient or have<br>
received this message in error, please notify me immediately and delete<br>
this message from your computer system. Any unauthorized use or<br>
distribution is prohibited. Please consider the environment before printing<br>
this email.<br>
</font></span></font></span></blockquote></div><br>
</blockquote></div></div></div><span><font color="#888888"><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>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><span>Thank you£¡<br>Best regards!</span><br>