: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 <integer> -*** 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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/mpi/pastix/pastix.c.html#MATSOLVERPASTIX">src/mat/impls/aij/mpi/pastix/pastix.c</A>


---
[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)  
