# MatMkl_CPardisoSetCntl
Set Mkl_Pardiso parameters 
## Synopsis
```
#include "petscmat.h"  
PetscErrorCode MatMkl_CPardisoSetCntl(Mat F, PetscInt icntl, PetscInt ival)
```
Logically Collective


## Input Parameters

- ***F -*** the factored matrix obtained by calling `MatGetFactor()`
- ***icntl -*** index of Mkl_Pardiso parameter
- ***ival -*** value of Mkl_Pardiso parameter



## Options Database Key

- ***-mat_mkl_cpardiso_<icntl> <ival> -*** set the option numbered icntl to ival





## Note
This routine cannot be used if you are solving the linear system with `TS`, `SNES`, or `KSP`, only if you directly call `MatGetFactor()` so use the options
database approach when working with `TS`, `SNES`, or `KSP`.


## References

- **** -*** Mkl_Pardiso Users' Guide



## See Also
 `MatGetFactor()`, `MATMPIAIJ`, `MATSOLVERMKL_CPARDISO`

## Level
Intermediate

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/mpi/mkl_cpardiso/mkl_cpardiso.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
