petsc-3.14.4 2021-02-03
Report Typos and Errors

PetscGetVersion

Gets the PETSc version information in a string.

Synopsis

PetscErrorCode PetscGetVersion(char version[], size_t len)

Input Parameter

len - length of the string

Output Parameter

version - version string

Fortran Note

This routine is not supported in Fortran.

For doing runtime checking off supported versions we recommend using PetscGetVersionNumber() instead of this routine.

Developer Note: The version information is also listed in

   src/docs/website/index.html.

See Also

PetscGetProgramName(), PetscGetVersionNumber()

Level

developer

Location

src/sys/objects/version.c

Examples

src/sys/tutorials/ex17.c.html

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages