:orphan: # MATSOLVERPASTIX A solver package providing direct solvers (LU) for distributed and sequential matrices via the external package PaStiX. Use `./configure` `--download-pastix` `--download-ptscotch` to have PETSc installed with PasTiX Use `-pc_type lu` `-pc_factor_mat_solver_type pastix` to use this direct solver ## Options Database Keys - ***-mat_pastix_verbose <0,1,2> -*** print level of information messages from PaStiX - ***-mat_pastix_threadnbr -*** Set the number of threads for each MPI process ## Notes This only works for matrices with symmetric nonzero structure, if you pass it a matrix with nonsymmetric structure PasTiX, and hence, PETSc return with an error. ## See Also [](ch_matrices), `Mat`, `PCFactorSetMatSolverType()`, `MatSolverType`, `MatGetFactor()` ## Level beginner ## Location src/mat/impls/aij/mpi/pastix/pastix.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/mpi/pastix/pastix.c) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)