:orphan:
# MatMumpsGetCntl
Get MUMPS parameter CNTL()
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatMumpsGetCntl(Mat F, PetscInt icntl, PetscReal *val)
```
Logically Collective
## Input Parameters
- ***F -*** the factored matrix obtained by calling `MatGetFactor()` from PETSc-MUMPS interface
- ***icntl -*** index of MUMPS parameter array CNTL()
## Output Parameter
- ***val -*** value of MUMPS CNTL(icntl)
## References
- **** -*** MUMPS Users' Guide
## See Also
[](ch_matrices), `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, `MatMumpsSetCntl()`, `MatMumpsGetInfo()`, `MatMumpsGetInfog()`, `MatMumpsGetRinfo()`, `MatMumpsGetRinfog()`
## Level
beginner
## Location
src/mat/impls/aij/mpi/mumps/mumps.c
## Examples
src/ksp/ksp/tutorials/ex52.c
src/ksp/ksp/tutorials/ex52f.F90
## Implementations
MatMumpsGetCntl_MUMPS in src/mat/impls/aij/mpi/mumps/mumps.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/mpi/mumps/mumps.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)