:orphan: # 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_ -*** 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`. See `MATSOLVERMKL_CPARDISO` for the options ## References - **** -*** Mkl_Pardiso Users' Guide ## See Also [](ch_matrices), `Mat`, `MatGetFactor()`, `MATMPIAIJ`, `MATSOLVERMKL_CPARDISO` ## Level Intermediate ## Location src/mat/impls/aij/mpi/mkl_cpardiso/mkl_cpardiso.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)