Thanks. It did work! Then how I should do for changing the tolerance of ksp? (changing from inexact into exact Newton phase) Thanks a lot, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120426/2b5cc391/attachment.htm>