<div dir="ltr"><div><span class="GINGER_SOFTWARE_mark" id="e99c330b-b2f8-4313-9907-a24061b2d604">attached</span> is the output written until I killed the program. Please <span class="GINGER_SOFTWARE_mark" id="2cc6735e-91c9-41a8-ab74-deae29e7084e">grep</span> the file with "Time step: 7" to go to log messages where the problem happens.<br>
<br></div><div>Thanks,<br></div><span class="GINGER_SOFTWARE_mark" id="166e21c5-6e1b-40cb-8f95-051834e9710c">Nori</span><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 25, 2014 at 3:09 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Run with -info and send ALL the output. -info triggers the printing of all the messages with from the calls to PetscInfo() thus we’ll be able to see what is happening to the values. In theory it should always eventually get out but there code be either a bug in our code or an error in your function evaluation that prevents it from ever getting out.<br>
<span class="HOEnZb"><font color="#888888"><br>
Barry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Apr 25, 2014, at 7:59 AM, Norihiro Watanabe <<a href="mailto:norihiro.w@gmail.com">norihiro.w@gmail.com</a>> wrote:<br>
<br>
> I mean "it's keep running but not print anything". I guess the program is running in while(1) loop after linear solve in SNESSolve_NEWTONTR() in src/snes/impls/tr/tr.c. But I'm not sure if the breaking condition (if (rho > neP->sigma) break; ) can be always satisfied at the end.<br>
><br>
><br>
><br>
> On Fri, Apr 25, 2014 at 2:49 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
><br>
> On Apr 25, 2014, at 7:31 AM, Norihiro Watanabe <<a href="mailto:norihiro.w@gmail.com">norihiro.w@gmail.com</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > In my simulation, nonlinear solve with the trust regtion method got stagnent after linear solve (see output below).<br>
><br>
> What do you mean, get stagnant? Does the code just hang, that is keep running but not print anything.<br>
><br>
> > Is it possible that the method goes to inifite loop?<br>
><br>
> This is not suppose to be possible.<br>
><br>
> > Is there any parameter to avoid this situation?<br>
><br>
> You need to determine what it is “hanging” on. Try running with -start_in_debugger and when it “hangs” hit control C and type where to determine where it is.<br>
><br>
> Barry<br>
><br>
> ><br>
> > 0 SNES Function norm 1.828728087153e+03<br>
> > 0 KSP Residual norm 91.2735<br>
> > Linear solve converged due to CONVERGED_ITS iterations 1<br>
> > Linear solve converged due to CONVERGED_RTOL iterations 3<br>
> > 1 KSP Residual norm 3.42223<br>
> > Linear solve converged due to CONVERGED_STEP_LENGTH iterations 1<br>
> ><br>
> ><br>
> > Thank you in advance,<br>
> > Nori<br>
><br>
><br>
><br>
><br>
> --<br>
> Norihiro Watanabe<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Norihiro Watanabe
</div>