Robert,
Within PFLOTRAN, the KSP is set up automatically by the nonlinear solver (SNES). PFLOTRAN is fairly “hands off” at that stage.
What exactly are you looking for with respect to the ILU preconditioner? Do you want all the settings for the KSP and PC? If so, I believe that you can use KSPView and PCView to get many of the settings (e.g. the level of fill in ILU, GMRES restart, etc.). You can also use KSPGetTolerances to obtain the convergence criteria used. These calls will have to be embedded in PFLOTRAN.
What do you mean by the “PETSc script fails to provide convergence when using PCILU”? If fails to provide convergence info for the preconditioner (PC) or for the Krylov solver (KSP)? I would not expect convergence info. from the PC.
Once we narrow down the exact issue, we can approach the PETSc devs about this.
Glenn
--
You received this message because you are subscribed to the Google Groups "pflotran-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/pflotran-dev/ebdd2d30-68fb-1250-7d8d-c28059dbfb27%40opengosim.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pflotran-dev/48db55d526be4ee3a3191c778948caa1%40ES06AMSNLNT.srn.sandia.gov.
Robert,
Sorry for the delayed response. You may also want to try adjusting the zero pivot tolerance (LU_ZERO_PIVOT_TOL), which can be done through the input deck:
http://documentation.pflotran.org/user_guide/cards/process_model_cards/linear_solver_card.html
To view this discussion on the web visit https://groups.google.com/d/msgid/pflotran-dev/e9459831-5afb-b36c-fce5-570457119b91%40opengosim.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pflotran-dev/db136e9374524906a0e9b8f289b0b6ac%40ES06AMSNLNT.srn.sandia.gov.