/usr/lib/petscdir/3.4.2/include/petscversion.h is in libpetsc3.4.2-dev 3.4.2.dfsg1-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | #if !defined(__PETSCVERSION_H)
#define __PETSCVERSION_H
#define PETSC_VERSION_RELEASE 1
#define PETSC_VERSION_MAJOR 3
#define PETSC_VERSION_MINOR 4
#define PETSC_VERSION_SUBMINOR 2
#define PETSC_VERSION_PATCH 0
#define PETSC_RELEASE_DATE "May, 13, 2013"
#define PETSC_VERSION_DATE "Jul, 02, 2013"
#if !defined (PETSC_VERSION_GIT)
#define PETSC_VERSION_GIT "a071802d3efee8b987703a6ce2cf5d9a25fa8160"
#endif
#if !defined(PETSC_VERSION_DATE_GIT)
#define PETSC_VERSION_DATE_GIT "2013-07-02 09:33:06 -0500"
#endif
#define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \
((PETSC_VERSION_MAJOR == (MAJOR)) && \
(PETSC_VERSION_MINOR == (MINOR)) && \
(PETSC_VERSION_SUBMINOR == (SUBMINOR)) && \
(PETSC_VERSION_RELEASE == 1))
#define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \
(PETSC_VERSION_RELEASE == 1 && \
(PETSC_VERSION_MAJOR < (MAJOR) || \
(PETSC_VERSION_MAJOR == (MAJOR) && \
(PETSC_VERSION_MINOR < (MINOR) || \
(PETSC_VERSION_MINOR == (MINOR) && \
(PETSC_VERSION_SUBMINOR < (SUBMINOR)))))))
#define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \
(PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \
PETSC_VERSION_(MAJOR,MINOR,SUBMINOR))
#define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \
(!PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR))
#define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \
(!PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR))
#endif
|