:orphan:
# PCRedundantSetNumber
Sets the number of redundant preconditioner contexts.
## Synopsis
```
#include "petscksp.h"
PetscErrorCode PCRedundantSetNumber(PC pc, PetscInt nredundant)
```
Logically Collective
## Input Parameters
- ***pc -*** the preconditioner context
- ***nredundant -*** number of redundant preconditioner contexts; for example if you are using 64 MPI processes and
use an nredundant of 4 there will be 4 parallel solves each on 16 = 64/4 processes.
## See Also
`PCREDUNDANT`
## Level
advanced
## Location
src/ksp/pc/impls/redundant/redundant.c
## Implementations
PCRedundantSetNumber_Redundant in src/ksp/pc/impls/redundant/redundant.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/redundant/redundant.c)
[Index of all PC routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)