On Fri, Jun 15, 2012 at 3:08 AM, Xuefeng Li <li at loyno.edu> wrote: > Hi, all. > > I am using a multilevel DMMG in my petsc 3.1-p8 > program. The program calls SNES_KSPSolve(), and > in turn calls KSP_Solve(). The number of times > KSP_Solve() is called seems to be indefinite > (10's of thousands of times). >
The default number of iterates is 10K. > Are there any database keys to control the number of > times KSP_Solve() is called? Where is the loop that > calls KSP_Solve? The key -ksp_max_it does not seem > to affect it. > Then this option did not reach the solver. You may have set a prefix. Run with -snes_max_it 1 -ksp_max_it 1 -snes_view to see what you are actually doing. Matt > Regards, > > --Xuefeng Li, (504)865-3340(phone) > Like floating clouds, the heart rests easy > Like flowing water, the spirit stays free > http://www.loyno.edu/~li/home > New Orleans, Louisiana (504)865-2051(fax) > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120615/72629847/attachment.html>
