/usr/include/trilinos/ml_common.h is in libtrilinos-ml-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 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | /* ******************************************************************** */
/* See the file COPYRIGHT for a complete copyright notice, contact */
/* person and disclaimer. */
/* ******************************************************************** */
/* ******************************************************************** */
/* Include file that should be included in every header file. */
/* ******************************************************************** */
/* Author : Jonathan Hu */
/* Date : July, 2003 */
/* ******************************************************************** */
#ifndef __MLCOMMON__
#define __MLCOMMON__
/* this avoids the classic build system from picking up a spurious
* macro from other packages that may have been autotooled */
#ifdef ML_CLASSIC_BUILD
#ifdef HAVE_CONFIG_H
#undef HAVE_CONFIG_H
#endif
#endif
/* The macros PACKAGE, PACKAGE_NAME, etc, get defined for each package and need to
be undef'd here to avoid warnings when this file is included from another package.
Based on what Kevin Long did for Epetra. */
#ifdef PACKAGE
#undef PACKAGE
#endif
#ifdef PACKAGE_NAME
#undef PACKAGE_NAME
#endif
#ifdef PACKAGE_BUGREPORT
#undef PACKAGE_BUGREPORT
#endif
#ifdef PACKAGE_STRING
#undef PACKAGE_STRING
#endif
#ifdef PACKAGE_TARNAME
#undef PACKAGE_TARNAME
#endif
#ifdef PACKAGE_VERSION
#undef PACKAGE_VERSION
#endif
#ifdef VERSION
#undef VERSION
#endif
#ifndef TRILINOS_NO_CONFIG_H
#include "ml_config.h"
/* aztecoo depends on epetra ...*/
#if defined(HAVE_ML_AZTEC) || defined(HAVE_ML_AZTECOO)
#ifndef AZTEC
#define AZTEC
#endif
#define ML_WITH_EPETRA
#endif
#ifdef HAVE_ML_AZTEC2_1
#ifndef AZTEC
#define AZTEC
#endif
#endif
/* ... but not vice versa */
#ifdef HAVE_ML_EPETRA
#ifndef ML_WITH_EPETRA
#define ML_WITH_EPETRA
#endif
#endif
#ifdef HAVE_ML_SUPERLU
#define SUPERLU
#endif
#ifdef HAVE_ML_SUPERLU2_0
#define SUPERLU
#endif
#ifdef HAVE_ML_SUPERLU_DIST
#define DSUPERLU
#endif
#ifdef HAVE_MPI
#ifndef ML_MPI
#define ML_MPI
#endif
#endif
#ifdef HAVE_BLAS
#define USE_VENDOR_BLAS
#endif
#ifdef HAVE_LAPACK
#define USE_VENDOR_LAPACK
#endif
#ifdef HAVE_ML_ENRICH
#define ML_ENRICH
#endif
#ifdef HAVE_ML_MEMORY_CHECK
#define ML_MEMORY_CHK
#endif
#ifdef HAVE_ML_NEW_T_PE
#define ML_NEW_T_PE
#endif
#ifdef HAVE_ML_COMPLEX_MAXWELL
#define GREG
#endif
#ifdef HAVE_ML_TIMING
#define ML_TIMING
#define ML_TIMING_DETAILED
#endif
#ifdef ML_MULTIPLE_RHS_BLOCK_FACTOR
#define WKC ML_MULTIPLE_RHS_BLOCK_FACTOR
#define ML_CPP
#endif
#ifdef HAVE_ML_FLOPS
#define ML_FLOPS
#endif
#ifdef HAVE_ML_BENCHMARKING
#define ML_BENCHMARK
#endif
#ifdef HAVE_AMESOS
#ifndef HAVE_ML_AMESOS
#define HAVE_ML_AMESOS
#endif
#endif
#ifdef HAVE_IFPACK
#ifndef HAVE_ML_IFPACK
#define HAVE_ML_IFPACK
#endif
#endif
#ifdef HAVE_TEUCHOS
#ifndef HAVE_ML_TEUCHOS
#define HAVE_ML_TEUCHOS
#endif
#endif
#ifdef HAVE_ANASAxI
#ifndef HAVE_ML_ANASAxI
#define HAVE_ML_ANASAxI
#endif
#endif
#ifdef HAVE_TRIUTILS
#ifndef HAVE_ML_TRIUTILS
#define HAVE_ML_TRIUTILS
#endif
#endif
#if defined(HAVE_ML_EPETRA) && defined(HAVE_ML_AMESOS) && defined(HAVE_ML_IFPACK) && defined(HAVE_ML_TEUCHOS)
#define HAVE_ML_MLAPI
#else
#ifdef HAVE_ML_MLAPI
#undef HAVE_ML_MLAPI
#endif
#endif
#ifdef HAVE_ML_ZOLTAN_THREE
# ifndef HAVE_ML_ZOLTAN
# define HAVE_ML_ZOLTAN
# endif
#endif
#endif /*ifndef TRILINOS_NO_CONFIG_H*/
#endif
|