[petsc-dev] define in petscconf PETSc is a development version?
Satish Balay
balay at mcs.anl.gov
Thu Jan 7 10:32:13 CST 2010
You are looking at a macro check. The define is at:
4 #define PETSC_VERSION_RELEASE 0
Since this is dev, PETSC_VERSION_(3,0,0) will always return 0
Satish
On Thu, 7 Jan 2010, Toby D. Young wrote:
>
> > Sounds like you're getting a header from the wrong place
> >
> > http://petsc.cs.iit.edu/petsc/petsc-dev/file/4466b94188f4/include/petscversion.h
>
> Could be that Jed, and anyways I am rebuilding from scratch.
> But on your link above PETSC_VERSION_RELEASE == 1 too...
>
> author barrysmith at barry-smiths-macbook-pro.local
> Thu Jan 07 08:16:17 2010 -0600 (2 hours ago)
>
> 20 #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \
>
> 21 ((PETSC_VERSION_MAJOR == (MAJOR)) && \
>
> 22 (PETSC_VERSION_MINOR == (MINOR)) && \
>
> 23 (PETSC_VERSION_SUBMINOR == (SUBMINOR)) && \
>
> 24 (PETSC_VERSION_RELEASE == 1))
>
> 25
>
> 26 #endif
>
>
> What is going on?
>
> Best,
> Toby
>
> -----
>
> Toby D. Young
> Assistant Professor
> Philosophy-Physics
> Polish Academy of Sciences
> Warszawa, Polska
>
> www: http://www.ippt.gov.pl/~tyoung
> skype: stenografia
>
>
More information about the petsc-dev
mailing list