options_and_tips
Summary of OOFEM command-line options:
-v
prints oofem version-f (string)
input file name-r (int)
restarts analysis from given step-ar (int)
restarts adaptive analysis from given step-l (int)
sets treshold for log messages (Errors=0, Warnings=1, Relevant=2, Info=3, Debug=4)-rn
turns on renumbering (Sloan algorithm)-qo (string)
redirects the standard output stream to given file-qe (string)
redirects the standard error stream to given file-c
creates context file for each solution step
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.txt · Last modified: 2011/05/24 10:06 by bp