[petsc-users] Database key for KSP_Solve

Xuefeng Li li at loyno.edu
Thu Jun 14 14:08:29 CDT 2012


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).

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.

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)



More information about the petsc-users mailing list