[petsc-dev] Are there both a function AND a #define to retrieve PETSc version?

Jed Brown jed at jedbrown.org
Sat Aug 27 14:22:41 CDT 2016

Barry Smith <bsmith at mcs.anl.gov> writes:
>    Well in Eric's case he knows he needs a bug fix in sub minor 3 and wants to generate an error if linked against an earlier one that does not have the bug fix. There needs to be a way for users to indicate if they need above something in the sub minor, doesn't there?

Oh, then we can have PetscVersionGet(&major,&minor,&subminor,&release).
Or PetscVersionGetMajor(&major), ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160827/c6fe49f3/attachment.sig>

More information about the petsc-dev mailing list