<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear Petsc developer:</div><div>Hi,</div><div>I recently debugged my program, which is a two-dimensional nonlinear PDEs problem, and solved by SNES. I find that the residual drop in KSP is slow. I want to fix the number of steps in the linear step, because I can not choose a suitable ksp_rtol. I use the command: -ksp_max_it 200, and I want to fix the number of iterations per ksp. But the program seemed to stop in the first nonlinear step.  </div><div>          </div><div>Linear solve did not converge due to DIVERGED_ITS iterations 200            </div><div>Nonlinear solve did not converge due to DIVERGED_LINEAR_SOLVE iterations 0      </div><div>      </div><div>How can I fix the maximum number of iterations of linear steps without stopping the program before the convergence of the non-linear steps? <br></div><div><br></div><div>Thanks,</div><div>Yingjie</div></div></div></div></div>