: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/redundant/redundant.c.html#PCRedundantSetNumber">src/ksp/pc/impls/redundant/redundant.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/redundant/redundant.c.html#PCRedundantSetNumber_Redundant">PCRedundantSetNumber_Redundant in src/ksp/pc/impls/redundant/redundant.c</A><BR>


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