<div class="gmail_quote">On Mon, May 16, 2011 at 22:44, Qian Zhu <span dir="ltr"><<a href="mailto:qzhu@mcs.anl.gov">qzhu@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;">
<div id=":2zc">I am trying to run ex29 under $PETSC_DIR/src/snes/examples/tutorials. It seems that it does not terminate even with 80,xxx time steps...I was using the default parameters. How long does this app. to converge? What can I do to make it terminate in a short time? Thanks a lot!</div>
</blockquote></div><br><div>Maybe try fewer time steps?</div><div><br></div><div><div>$ grep max_steps petsc/src/snes/examples/tutorials/ex29.c</div><div> PetscInt max_steps,print_freq;</div><div> tsCtx.max_steps = 1000000; </div>
<div> tsCtx.print_freq = tsCtx.max_steps; </div><div> ierr = PetscOptionsGetInt(PETSC_NULL, "-max_st", &tsCtx.max_steps,PETSC_NULL);CHKERRQ(ierr);</div></div>