Lines Matching refs:pythonlib
22 …ythonFindLibraryName(const char pythonexe[], const char attempt[], char pythonlib[], size_t pl, Pe… in PetscPythonFindLibraryName() argument
35 …PetscCheck(fgets(pythonlib, (int)pl, fp), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Python: bad output fro… in PetscPythonFindLibraryName()
41 PetscCall(PetscStrchr(pythonlib, '\n', &eol)); in PetscPythonFindLibraryName()
43 PetscCall(PetscTestFile(pythonlib, 'r', found)); in PetscPythonFindLibraryName()
47 static PetscErrorCode PetscPythonFindLibrary(const char pythonexe[], char pythonlib[], size_t pl) in PetscPythonFindLibrary() argument
63 PetscCall(PetscStrncpy(pythonlib, PETSC_PYTHON_LIB, pl)); in PetscPythonFindLibrary()
69 PetscCall(PetscPythonFindLibraryName(pythonexe, cmdlines[i], pythonlib, pl, &found)); in PetscPythonFindLibrary()
72 PetscCall(PetscInfo(NULL, "Python library %s found %d\n", pythonlib, found)); in PetscPythonFindLibrary()
107 static PetscErrorCode PetscPythonLoadLibrary(const char pythonlib[]) in PetscPythonLoadLibrary() argument
111 PetscCall(PetscDLPyLibOpen(pythonlib)); in PetscPythonLoadLibrary()
112 PetscCall(PetscInfo(NULL, "Python: loaded dynamic library %s\n", pythonlib)); in PetscPythonLoadLibrary()
132 …M_SELF, PETSC_ERR_LIB, "Python: failed to load symbols from Python dynamic library %s", pythonlib); in PetscPythonLoadLibrary()
133 …M_SELF, PETSC_ERR_LIB, "Python: failed to load symbols from Python dynamic library %s", pythonlib); in PetscPythonLoadLibrary()
134 …M_SELF, PETSC_ERR_LIB, "Python: failed to load symbols from Python dynamic library %s", pythonlib); in PetscPythonLoadLibrary()
135 …M_SELF, PETSC_ERR_LIB, "Python: failed to load symbols from Python dynamic library %s", pythonlib); in PetscPythonLoadLibrary()
136 …M_SELF, PETSC_ERR_LIB, "Python: failed to load symbols from Python dynamic library %s", pythonlib); in PetscPythonLoadLibrary()
137 …etscInfo(NULL, "Python: all required symbols loaded from Python dynamic library %s\n", pythonlib)); in PetscPythonLoadLibrary()