1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PETSC_VERSION.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PETSC_VERSION</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.14.5 2021-03-03</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.14.5 v3.14.5 docs/manualpages/Sys/PETSC_VERSION.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PETSC_VERSION"><H1>PETSC_VERSION</H1></A>
This manual page provides information about how PETSc documents and uses its version information. This information is available to both C/C++ and Fortran compilers when petscsys.h is included.
<P>
The current PETSc version and the API for accessing it are defined in petscversion.h
<P>
The complete version number is given as the triple PETSC_VERSION_MAJOR.PETSC_VERSION_MINOR.PETSC_VERSION_SUBMINOR (in short hand x.y.z)
<P>
A change in the minor version number (y) indicates possible/likely changes in the PETSc API. Note this is different than with the semantic versioning convention
where only a change in the major version number (x) indicates a change in the API.
<P>
A subminor greater than zero indicates a patch release. Version x.y.z maintains source and binary compatibility with version x.y.w for all z and w
<P>
Use the macros PETSC_VERSION_EQ(x,y,z), PETSC_VERSION_LT(x,y,z), PETSC_VERSION_LE(x,y,z), PETSC_VERSION_GT(x,y,z),
PETSC_VERSION_GE(x,y,z) to determine if the current version is equal to, less than, less than or equal to, greater than or greater than or equal to a given
version number (x.y.z).
<P>
PETSC_RELEASE_DATE is the date the x.y version was released (i.e. the version before any patch releases)
<P>
PETSC_VERSION_DATE is the date the x.y.z version was released
<P>
PETSC_VERSION_GIT is the last git commit to the repository given in the form vx.y.z-wwwww
<P>
PETSC_VERSION_DATE_GIT is the date of the last git commit to the repository
<P>
<P>
PETSC_VERSION_() and PETSC_VERSION_PATCH are deprecated and will eventually be removed. For several releases PETSC_VERSION_PATCH is always 0
<P>
<P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>intermediate<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../include/petscsys.h.html#PETSC_VERSION">include/petscsys.h</A>
<BR><A HREF="./index.html">Index of all Sys routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|