[petsc-dev] Next major release is 4.0 or 3.10?
Kong, Fande
fande.kong at inl.gov
Fri Jul 13 09:58:34 CDT 2018
Thanks so much,
I will try your guys' suggestions.
Fande,
On Thu, Jul 12, 2018 at 11:26 PM, Jed Brown <jed at jedbrown.org> wrote:
> Huh? I would do this, regardless of whether 3.10 or 4.0 is the next
> release. (It'll be 3.10, but you don't need to care.)
>
> #if PETSC_VERSION_GE(3,10,0)
> new interface in 'master'
> #elif PETSC_VERSION_GE(3,8,0)
> interface in v3.8.x and v3.9.x
> #else
> interface in v3.7.x and earlier
> #endif
>
> Satish Balay <balay at mcs.anl.gov> writes:
>
> > Hm - for safeguards - I guess one could use PETSC_VERSION_LT(3,9,99) as
> equivalent to PETSC_VERSION_LT(3,10,0)
> >
> > Satish
> >
> > On Thu, 12 Jul 2018, Kong, Fande wrote:
> >
> >> I want to know this info, and I can put some safeguard in the code.
> >>
> >> Thanks,
> >>
> >> Fande,
> >>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180713/dc04c0cb/attachment-0001.html>
More information about the petsc-dev
mailing list