PetscErrorCode PetscDLLibraryRetrieve(MPI_Comm comm,const char libname[],char *lname,size_t llen,PetscBool *found)Collective
comm | - processors that are opening the library | |
libname | - name of the library, can be relative or absolute |
name | - actual name of file on local filesystem if found | |
llen | - length of the name buffer | |
found | - true if the file exists |
${PETSC_ARCH}, ${PETSC_DIR}, ${PETSC_LIB_DIR}, or ${any environmental variable} occuring in directoryname and filename will be replaced with appropriate values.