Searched refs:pythonexe (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/python/ |
| H A D | pythonsys.c | 7 static PetscErrorCode PetscPythonFindExecutable(char pythonexe[], size_t len) in PetscPythonFindExecutable() argument 13 PetscCall(PetscStrncpy(pythonexe, PETSC_PYTHON_EXE, len)); in PetscPythonFindExecutable() 14 PetscCall(PetscOptionsGetString(NULL, NULL, "-python", pythonexe, len, &flag)); in PetscPythonFindExecutable() 15 if (!flag || pythonexe[0] == 0) PetscCall(PetscStrncpy(pythonexe, PETSC_PYTHON_EXE, len)); in PetscPythonFindExecutable() 22 static PetscErrorCode PetscPythonFindLibraryName(const char pythonexe[], const char attempt[], char… in PetscPythonFindLibraryName() argument 30 PetscCall(PetscStrncpy(command, pythonexe, sizeof(command))); in PetscPythonFindLibraryName() 35 …M_SELF, PETSC_ERR_PLIB, "Python: bad output from executable: %s, running: %s", pythonexe, command); in PetscPythonFindLibraryName() 47 static PetscErrorCode PetscPythonFindLibrary(const char pythonexe[], char pythonlib[], size_t pl) in PetscPythonFindLibrary() argument 68 … PetscCall(PetscInfo(NULL, "Looking for Python library with \"%s %s\"\n", pythonexe, cmdlines[i])); in PetscPythonFindLibrary() 69 PetscCall(PetscPythonFindLibraryName(pythonexe, cmdlines[i], pythonlib, pl, &found)); in PetscPythonFindLibrary()
|