:orphan: # PetscDLLibraryOpen Opens a PETSc dynamic link library ## Synopsis ``` PetscErrorCode PetscDLLibraryOpen(MPI_Comm comm, const char path[], PetscDLLibrary *entry) ``` Collective ## Input Parameters - ***comm -*** MPI processes that are opening the library - ***path -*** name of the library, can be a relative or absolute path ## Output Parameter - ***entry -*** a PETSc dynamic link library entry ## Notes [[://hostname]/directoryname/]libbasename[.so.1.0] If the library has the symbol `PetscDLLibraryRegister_basename()` in it then that function is automatically run when the library is opened. ${PETSC_ARCH} occurring in directoryname and filename will be replaced with the appropriate value. ## See Also `PetscDLLibrary`, `PetscLoadDynamicLibrary()`, `PetscDLLibraryAppend()`, `PetscDLLibraryRetrieve()`, `PetscDLLibrarySym()`, `PetscDLLibraryClose()` ## Level developer ## Location src/sys/dll/dl.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/dll/dl.c) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)