[petsc-users] Petsc versions

Jed Brown jed at jedbrown.org
Sat Mar 29 16:38:33 CDT 2014


Mark Adams <mfadams at lbl.gov> writes:

>>
>>
>> Are you sure it is not 3.4.x?
>>
>
> No.  But I do not see a 3.4.1.
>
> Perhaps I should change
>
> #if PETSC_VERSION_GT(3,4,0) || !PETSC_VERSION_RELEASE
>
> to
>
> #if PETSC_VERSION_GE(3,5,0) || !PETSC_VERSION_RELEASE

Just use PETSC_VERSION_GE(3,5,0).  The comparison operators interpret
unreleased versions as +Infinity.

> This interface change will not go into a release until 3.5 right?

Correct.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140329/f553b231/attachment.pgp>


More information about the petsc-users mailing list