:orphan: # PetscSysInitializePackage This function initializes everything in the system library portion of PETSc. It is called from `PetscDLLibraryRegister_petsc()` when using dynamic libraries, and in the call to `PetscInitialize()` when using shared or static libraries. ## Synopsis ``` PetscErrorCode PetscSysInitializePackage(void) ``` ## See Also `PetscSysFinalizePackage()`, `PetscInitialize()` ## Level developer ## Location src/sys/classes/viewer/interface/dlregispetsc.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/interface/dlregispetsc.c) [Index of all Viewer routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)