MATSOLVERSUPERLU#

“superlu” - A solver package providing solvers LU and ILU for sequential matrices via the external package SuperLU https://portal.nersc.gov/project/sparse/superlu/superlu_ug.pdf Use ./configure --download-superlu to have PETSc installed with SuperLU

Use -pc_type lu -pc_factor_mat_solver_type superlu to use this direct solver

Options Database Keys#

  • -mat_superlu_equil (true|false) - Equil (None)

  • -mat_superlu_colperm (NATURAL|MMD_ATA|MMD_AT_PLUS_A|COLAMD) - column permutation, default COLAMD

  • -mat_superlu_iterrefine (NOREFINE|SINGLE|DOUBLE|EXTRA) - iterative refinement, default NOREFINE

  • -mat_superlu_symmetricmode (true|false) - SymmetricMode (None)

  • -mat_superlu_diagpivotthresh 1 - DiagPivotThresh (None)

  • -mat_superlu_pivotgrowth (true|false) - PivotGrowth (None)

  • -mat_superlu_conditionnumber (true|false) - ConditionNumber (None)

  • -mat_superlu_rowperm (NOROWPERM|LargeDiag) - row permutation, default NOROWPERM for LU and LargeDiag for ILU

  • -mat_superlu_replacetinypivot (true|false) - ReplaceTinyPivot (None)

  • -mat_superlu_printstat (true|false) - PrintStat (None)

  • -mat_superlu_lwork 0 - size of work array in bytes used by factorization (None)

  • -mat_superlu_ilu_droptol 0 - ILU_DropTol (None)

  • -mat_superlu_ilu_filltol 0 - ILU_FillTol (None)

  • -mat_superlu_ilu_fillfactor 0 - ILU_FillFactor (None)

  • -mat_superlu_ilu_droprull 0 - ILU_DropRule (None)

  • -mat_superlu_ilu_norm 0 - ILU_Norm (None)

  • -mat_superlu_ilu_milu 0 - ILU_MILU (None)

Notes#

Do not confuse this with MATSOLVERSUPERLU_DIST which is for parallel sparse solves

Cannot use ordering provided by PETSc, provides its own.

See Also#

Matrices, Mat, PCLU, PCILU, MATSOLVERSUPERLU_DIST, MATSOLVERMUMPS, PCFactorSetMatSolverType(), MatSolverType

Level#

beginner

Location#

src/mat/impls/aij/seq/superlu/superlu.c

Examples#

src/mat/tests/ex125.c
src/mat/tests/ex130.c
src/ksp/ksp/tutorials/ex52.c
src/tao/constrained/tutorials/maros.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages