Use -pc_type lu -pc_factor_mat_solver_package klu to us this direct solver
Consult KLU documentation for more information on the options database keys below.
-mat_klu_pivot_tol <0.001> | - Partial pivoting tolerance | |
-mat_klu_use_btf <1> | - Use BTF preordering | |
-mat_klu_ordering <AMD> | - KLU reordering scheme to reduce fill-in (choose one of) AMD COLAMD PETSC | |
-mat_klu_row_scale <NONE> | - Matrix row scaling (choose one of) NONE SUM MAX |
Note: KLU is part of SuiteSparse http://faculty.cse.tamu.edu/davis/suitesparse.html
Level:beginner
Location:src/mat/impls/aij/seq/klu/klu.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages