options_and_tips
This is an old revision of the document!
Using PETSc with OOFEM
- Use command line
-ksp_type
to choose the PETSc solver kind.- Options are:
richardson, chebychev, cg, gmres, tcqmr, bcgs, cgs, tfqmr, cr, lsqr, bicg
, orpreonly
.
- Use
-ksp_gmres_restart
with gmres and-ksp_richardson_scale
for richardson. - Use command line
-pc_type
to choose the PETSc preconditioner.- Options are:
jacobi, bjacobi, sor, eisenstat, icc, ilu, asm, ksp, lu,
orcholesky
- Loads of options exist for using these preconditioners as well. See most recent PETSc manual.
- Loads of externally supplied solvers as well that need to be hooked in.
- Use command line
-log_summary
to get lots of PETSc information about your run. - Use
-ksp_rtol, -ksp_atol, -ksp_divtol
, and-ksp_max_it
for setting other options. - Monitor convergence with
-ksp_monitor
and see info about preconditioners etc. with-ksp_view
.
options_and_tips.1306224020.txt.gz · Last modified: 2011/05/24 10:00 by bp