:orphan:
# MatMumpsSetCntl
Set MUMPS parameter CNTL() 
## Synopsis
```
#include "petscmat.h"  
PetscErrorCode MatMumpsSetCntl(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()
- ***val -*** value of MUMPS CNTL(icntl)



## Options Database Key

- ***-mat_mumps_cntl_<icntl> <val>  -*** change the option numbered icntl to ival





## References

- **** -*** MUMPS Users' Guide



## See Also
 [](ch_matrices), `Mat`, `MatGetFactor()`, `MatMumpsSetIcntl()`, `MatMumpsGetIcntl()`, `MatMumpsGetCntl()`, `MatMumpsGetInfo()`, `MatMumpsGetInfog()`, `MatMumpsGetRinfo()`, `MatMumpsGetRinfog()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/mpi/mumps/mumps.c.html#MatMumpsSetCntl">src/mat/impls/aij/mpi/mumps/mumps.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex52.c.html">src/ksp/ksp/tutorials/ex52.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex52f.F90.html">src/ksp/ksp/tutorials/ex52f.F90</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/aij/mpi/mumps/mumps.c.html#MatMumpsSetCntl_MUMPS">MatMumpsSetCntl_MUMPS in src/mat/impls/aij/mpi/mumps/mumps.c</A><BR>


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