Symmetric matrices.

Hong Zhang hzhang at mcs.anl.gov
Wed Nov 8 11:12:44 CST 2006


> Which solvers are more appropriate for symmetric matrices?

Iterative solvers: ksp_type cg, pc_type icc
Direct solvers:    ksp_type preonly, pc_type cc

Non-symmetric solvers also work, but the above solvers
are more efficient in general.

You can run petsc code with various ksp/pc combinations,
and use the option '-log_summary' to evaluate the performance.
Using '-help' to see all solver options.

Hong




More information about the petsc-users mailing list