:orphan:
# PCInitializePackage
This function initializes everything in the `PC` package. It is called from `PetscDLLibraryRegister_petscksp()` when using dynamic libraries, and on the first call to `PCCreate()` when using shared static libraries. 
## Synopsis
```
PetscErrorCode PCInitializePackage(void)
```



## See Also
 [](ch_ksp), `PetscInitialize()`, `PCFinalizePackage()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/interface/dlregisksp.c.html#PCInitializePackage">src/ksp/ksp/interface/dlregisksp.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/interface/dlregisksp.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)  
