:orphan:
# KSPGuessCreate
Creates the default `KSPGuess` context.
## Synopsis
```
#include "petscksp.h"
PetscErrorCode KSPGuessCreate(MPI_Comm comm, KSPGuess *guess)
```
Collective
## Input Parameter
- ***comm -*** MPI communicator
## Output Parameter
- ***guess -*** location to put the `KSPGuess` context
## See Also
[](ch_ksp), `KSPSolve()`, `KSPGuessDestroy()`, `KSPGuess`, `KSPGuessType`, `KSP`
## Level
developer
## Location
src/ksp/ksp/interface/iguess.c
## Implementations
KSPGuessCreate_Fischer in src/ksp/ksp/guess/impls/fischer/fischer.c
KSPGuessCreate_POD in src/ksp/ksp/guess/impls/pod/pod.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/iguess.c)
[Index of all KSP routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)