Up: Contents
Next: Tips for Efficient Use of Linear Solvers
Previous: Data Structure Reuse
PETSc users should run a variety of tests. For example, there are a large number of options
for the linear and nonlinear equation solvers in PETSc, and different
choices can make a very big difference in convergence rates and execution
times. PETSc employs defaults that are generally reasonable for a wide
range of problems, but clearly these defaults cannot be best for all
cases. Users should experiment with many combinations to determine
what is best for a given problem and customize the solvers accordingly.
- Use the options -snes_view, -sles_view, etc. (or the routines
SLESView(), SNESView(), etc.) to view the options that have been
used for a particular solver.
- Run the code with the option -help for a list of the available
runtime commands.
- Use the option -log_info to print details about the solvers' operation.
- Use the PETSc monitoring discussed in Chapter Profiling
to evaluate the performance of various numerical methods.
Up: Contents
Next: Tips for Efficient Use of Linear Solvers
Previous: Data Structure Reuse