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 |
If the library has the symbol PetscDLLibraryRegister_basename() in it then that function is automatically run when the library is opened.
${PETSC_ARCH} occuring in directoryname and filename will be replaced with the appropriate value.