petsc-3.7.7 2017-09-25
Report Typos and Errors

# PetscGetPetscDir

Gets the directory PETSc is installed in

### Synopsis

    #include "petscsys.h"
    PetscErrorCode  PetscGetPetscDir(const char *dir[])

Not Collective

### Output Parameter

dir -the directory

Notes: Not for use in Fortran

Level:developer
Location:src/sys/utils/str.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages