[petsc-dev] define in petscconf PETSc is a development version?

Jed Brown jed at 59A2.org
Thu Jan 7 10:08:51 CST 2010


On Thu, 7 Jan 2010 17:01:09 +0100 (CET), "Toby D. Young" <tyoung at ippt.gov.pl> wrote:
> 
> 
> > In petscversion.h there is PETSC_VERSION_RELEASE, which is 1 (release)
> > or 0 (development).
> 
> Thank you Jose... so the solution exists already. Many thanks. I
> deliberately overlooked this because:
> 
> The weird thing: my petsc-dev says PETSC_VERSION_RELEASE = 1, and it is
> not! Same goes for SLEPC_VERSION_RELEASE = 1, and it is not, it is the
> development version for sure and these should equal zero (as you say)...
> Why do my developments say they are releases?

Sounds like you're getting a header from the wrong place

  http://petsc.cs.iit.edu/petsc/petsc-dev/file/4466b94188f4/include/petscversion.h

Jed



More information about the petsc-dev mailing list