/usr/include/trilinos/Trilinos_version.h is in trilinos-dev 12.4.2-2.
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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | /*
# @HEADER
# ************************************************************************
#
# Trilinos: An Object-Oriented Solver Framework
# Copyright (2001) Sandia Corporation
#
#
# Copyright (2001) Sandia Corporation. Under the terms of Contract
# DE-AC04-94AL85000, there is a non-exclusive license for use of this
# work by or on behalf of the U.S. Government. Export of this program
# may require a license from the United States Government.
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# 3. Neither the name of the Corporation nor the names of the
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# NOTICE: The United States Government is granted for itself and others
# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide
# license in this data to reproduce, prepare derivative works, and
# perform publicly and display publicly. Beginning five (5) years from
# July 25, 2001, the United States Government is granted for itself and
# others acting on its behalf a paid-up, nonexclusive, irrevocable
# worldwide license in this data to reproduce, prepare derivative works,
# distribute copies to the public, perform publicly and display
# publicly, and to permit others to do so.
#
# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT
# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES
# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR
# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY
# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS
# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS.
#
# ************************************************************************
# @HEADER
*/
#ifndef TRILINOS_VERSION_H
#define TRILINOS_VERSION_H
/* Trilinos version numbering convention.
*
* Trilinos version numbers take the form X.Y.Z where:
*
* X: The major version number that defines a window of (perfect) backward
* compatibility (see below).
*
* Y: The release version number within a backward-compatible set of
* versions X. Even numbers (0, 2, 4, ...) are used for releases and odd
* numbers (1, 3, 5, ...) are used for development versions in-between
* releases.
*
* Z: The minor release version number for minor releases taken off off a
* release branch X.Y. Even numbers (0, 2, 4, ...) are used for customer
* releases and odd numbers (1, 3, 5, ...) are used for the code on the
* release X.Y branch in-between minor releases.
*
* All Trilinos releases (i.e. X.Y where Y is even) are taken off of the
* development branch (i.e. the dev version X-1.R or X.Y-1) and are given a
* name containing the version number X.Y. The initial releases in a backward
* compatible set are then given the release numbers:
*
* X.0.0, X.2.0, X.4.0, ...
*
* The intermediate development versions are given the release numbers:
*
* X.1.0, X.3.0, X.5.0, ....
*
* For development versions, the minor release version number Z is always 0.
*
* The minor releases for a given release branch X.Y are given the version
* numbers:
*
* X.Y.0, X.Y.2, X.Y.4, ...
*
* The version numbers given to the code in the release branch X.Y in-between
* minor releases (which are not branched, only tagged) are:
*
* X.Y.1, X.Y.3, X.Y.5, ...
*
* In this way, client code can just examine the version number in this file
* and know exactly what version of Trilinos they are working with with no
* ambiguity no mater what.
*/
/* The major version number xx (allows up 99 major Trilinos release version
* numbers).
*
* The major Trilinos version number defines a window of backward
* compatibility.
*/
#define TRILINOS_MAJOR_VERSION 12
/* The major, release, and minor release version numbers (i.e. xx.yy.zz).
*
* NOTE: When numbers are less than 10, it is padded with a 0. For example,
* development version 10.1 of Trilinos is designated 100100 and the release
* version 10.2.4 is designated 100204. This preserves the comparability of
* these version numbers with simple comparison operators used in #ifdef tests.
*/
#define TRILINOS_MAJOR_MINOR_VERSION 120402
/* NOTE: These macros are given long int values to allow comparisons in
* preprocessor #if statements. For example, you can do comparisons with ==,
* <, <=, >, and >=.
*
* NOTE: The C++ standard for the C preprocessor requires that the arguments
* for #if must be convertible into a long int. Expressions that convert to 1
* are true and expressions that convert to 0 are false.
*/
/* \brief Version string for Trilinos.
*
* NOTE: This string is to be used for outputting, not for comparison logic.
*/
#define TRILINOS_VERSION_STRING "12.4.2"
#endif /* TRILINOS_VERSION_H */
|