options_and_tips
Summary of OOFEM command-line options:
-vprints 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)-rnturns on renumbering (Sloan algorithm)-qo (string)redirects the standard output stream to given file-qe (string)redirects the standard error stream to given file-ccreates context file for each solution step
Using PETSc with OOFEM
- Use command line
-ksp_typeto choose the PETSc solver kind.- Options are:
richardson, chebychev, cg, gmres, tcqmr, bcgs, cgs, tfqmr, cr, lsqr, bicg, orpreonly.
- Use
-ksp_gmres_restartwith gmres and-ksp_richardson_scalefor richardson. - Use command line
-pc_typeto 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_summaryto get lots of PETSc information about your run. - Use
-ksp_rtol, -ksp_atol, -ksp_divtol, and-ksp_max_itfor setting other options. - Monitor convergence with
-ksp_monitorand see info about preconditioners etc. with-ksp_view.
options_and_tips.txt · Last modified: 2011/05/24 10:06 by bp