PetscErrorCode PetscDLLibraryOpen(MPI_Comm comm,const char path[],PetscDLLibrary *entry)Collective
comm | - processors that are opening the library | |
path | - name of the library, can be relative or absolute |
entry | - a PETSc dynamic link library entry |
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.