PetscPythonInitialize#
Initialize Python for use with PETSc and import petsc4py.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscPythonInitialize(const char pyexe[], const char pylib[])
Input Parameters#
pyexe - path to the Python interpreter executable, or NULL.
pylib - full path to the Python dynamic library, or NULL.
See Also#
Level#
intermediate
Location#
Examples#
src/ksp/ksp/tutorials/ex100.c.html
src/ksp/ksp/tutorials/ex100f.F90.html
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages