-
Notifications
You must be signed in to change notification settings - Fork 338
/
Copy pathconfig.h.cmake
192 lines (135 loc) · 4.54 KB
/
config.h.cmake
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
186
187
188
189
190
191
192
/* Don't use multiline c-style comments */
#ifndef CONFIG_H_FEM
#define CONFIG_H_FEM
/* This is for easier transition to new bindings */
#ifdef USE_ISO_C_BINDINGS
#define FC_FUNC(name, NAME) name
#define FC_FUNC_(name, NAME) name
#endif
#cmakedefine VERSION "${VERSION}"
#cmakedefine REVISION "${ELMER_FEM_REVISION}"
#cmakedefine COMPILATIONDATE "${ELMER_FEM_COMPILATIONDATE}"
#cmakedefine HAVE_INTTYPES_H
#cmakedefine ELMER_SOLVER_HOME "${ELMER_SOLVER_HOME}"
#cmakedefine OFF_KIND @OFF_KIND@
/* These require more work */
#cmakedefine STDCALLBULL @FC_STDCALLBULL@
#define STDCALLBULL
#define HAVE_ARPACK
#define HAVE_BLAS
/* Define to 1 if you have the `dlclose' function. */
#define HAVE_DLCLOSE
/* Define to 1 if you have the `dlerror' function. */
#define HAVE_DLERROR
/* Define to 1 if you have the `dlopen' function. */
#define HAVE_DLOPEN
/* Define if your system has dlopen, dlsym, dlerror, and dlclose for dynamic */
/* linking */
#cmakedefine HAVE_DLOPEN_API
/* Define if your system has LoadLibrary API (e.g. WIN32)*/
#cmakedefine HAVE_LOADLIBRARY_API
/* Define to 1 if you have the `dlsym' function. */
#cmakedefine HAVE_DLSYM
/* Define if your system has dyld for dynamic linking */
#cmakedefine HAVE_DYLD_API
/* Define to 1 if you have the `fseeko' function. */
#define HAVE_FSEEKO
/* Define to 1 if you have the `ftello' function. */
#define HAVE_FTELLO
/* Does the fortran environment implement etime */
#define HAVE_F_ETIME
/* Does the fortran environment implement flush */
#define HAVE_F_FLUSH
/* Define if you have a HUTI library. */
#define HAVE_HUTI
/* Define if you have a HYPRE library. */
/* define HAVE_HYPRE */
#cmakedefine HAVE_HYPRE
/* Define if you have a MKL library */
#cmakedefine HAVE_MKL
/* Define if you have a CPardiso solver from MKL */
#cmakedefine HAVE_CPARDISO
/* Define if you have a CHOLMOD library */
#cmakedefine HAVE_CHOLMOD
/* Define if you have LAPACK library. */
#define HAVE_LAPACK
/* Define to 1 if you have the `dl' library (-ldl). */
#define HAVE_LIBDL
/* Define if you have a MATC library. */
#define HAVE_MATC
/* ... */
#define HAVE_MPI
/* Define if you have a OpenMP 4.0 SIMD compiler */
#cmakedefine HAVE_OPENMP40
/* Define if you have a OpenMP 4.5 SIMD compiler */
#cmakedefine HAVE_OPENMP45
/* Macro expansions based on compiler OpenMP feature support */
#if defined(HAVE_OPENMP45)
#define _ELMER_OMP $OMP
#define _ELMER_OMP_SIMD $OMP SIMD
#define _ELMER_OMP_DECLARE_SIMD $OMP DECLARE SIMD
#define _ELMER_LINEAR_REF(var) LINEAR(REF(var))
#elif defined(HAVE_OPENMP40)
#define _ELMER_OMP $OMP
#define _ELMER_OMP_SIMD $OMP SIMD
#define _ELMER_OMP_DECLARE_SIMD $OMP DECLARE SIMD
#define _ELMER_LINEAR_REF(var)
#else
#define _ELMER_OMP
#define _ELMER_OMP_SIMD DIR$ IVDEP !
#define _ELMER_OMP_DECLARE_SIMD
#define _ELMER_LINEAR_REF(var)
#endif
#cmakedefine HAVE_AMGX
#cmakedefine HAVE_ROCALUTION
/* Define if you have a MUMPS library. */
/* define HAVE_MUMPS */
#cmakedefine HAVE_MUMPS
/* Define if you have a PARPACK library. */
#define HAVE_PARPACK
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H
/* Define if you have a UMFPACK library. */
#cmakedefine HAVE_UMFPACK
/* Define to the Fortran type that matches SuiteSparse_long. */
#cmakedefine UMFPACK_LONG_FORTRAN_TYPE @UMFPACK_LONG_FORTRAN_TYPE@
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H
/* Detected platform. */
#define LINUX
/* Name of package */
#cmakedefine PACKAGE @PACKAGE@
/* Define to the full name of this package. */
#cmakedefine PACKAGE_NAME @PACKAGE_NAME@
/* Define to the version of this package. */
#cmakedefine PACKAGE_VERSION @PACKAGE_VERSION@
/* Shared lib filename extension */
#cmakedefine SHL_EXTENSION "@SHL_EXTENSION@"
/* Trilinos */
#cmakedefine HAVE_TRILINOS
/* MMG */
#if 1
#cmakedefine HAVE_MMG
#cmakedefine HAVE_PARMMG
#endif
#define ELMER_LINKTYP ${ELMER_LINKTYP}
#define ENABLE_DYNAMIC_LINKING 1
#cmakedefine CONTIG ${FC_CONTIG}
/* Have these defined only for debugging or optimization purposes */
/* #define DEVEL_LISTCOUNTER */
#define DEVEL_LISTUSAGE
/* #define DEVEL_KEYWORDMISSES */
#cmakedefine HAVE_LUA
#cmakedefine HAVE_ZOLTAN
#cmakedefine HAVE_EXTOPTIM
#endif