On Fri, Jun 15, 2012 at 3:08 AM, Xuefeng Li <span dir="ltr"><<a href="mailto:li@loyno.edu" target="_blank">li@loyno.edu</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">
Hi, all.<br>
<br>
I am using a multilevel DMMG in my petsc 3.1-p8<br>
program. The program calls SNES_KSPSolve(), and<br>
in turn calls KSP_Solve(). The number of times<br>
KSP_Solve() is called seems to be indefinite<br>
(10's of thousands of times).<br></blockquote><div><br></div><div>The default number of iterates is 10K.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are there any database keys to control the number of<br>
times KSP_Solve() is called? Where is the loop that<br>
calls KSP_Solve? The key -ksp_max_it does not seem<br>
to affect it.<br></blockquote><div><br></div><div>Then this option did not reach the solver. You may have set a prefix.</div><div><br></div><div>Run with -snes_max_it 1 -ksp_max_it 1 -snes_view to see what you are actually doing.</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">
Regards,<br>
<br>
--Xuefeng Li, <a href="tel:%28504%29865-3340" value="+15048653340" target="_blank">(504)865-3340</a>(phone)<br>
Like floating clouds, the heart rests easy<br>
Like flowing water, the spirit stays free<br>
<a href="http://www.loyno.edu/~li/home" target="_blank">http://www.loyno.edu/~li/home</a><br>
New Orleans, Louisiana <a href="tel:%28504%29865-2051" value="+15048652051" target="_blank">(504)865-2051</a>(fax)<br>
<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>