| 1 |
chuckv |
1496 |
/* config.h. Generated from config.h.cmake by cmake */ |
| 2 |
|
|
|
| 3 |
|
|
|
| 4 |
|
|
#define OPENMD_VERSION_MAJOR "${VERSION_MAJOR}" |
| 5 |
|
|
#define OPENMD_VERSION_MINOR "${VERSION_MINOR}" |
| 6 |
|
|
#define OPENMD_VERSION_TINY "${VERSION_TINY}" |
| 7 |
|
|
|
| 8 |
|
|
#define MK_STR(s) # s |
| 9 |
|
|
#define STR_DEFINE(t, s) t = MK_STR(s) |
| 10 |
|
|
/* The file extension used for shared modules */ |
| 11 |
|
|
#undef MODULE_EXTENSION |
| 12 |
|
|
|
| 13 |
|
|
|
| 14 |
|
|
#include "config_f.h" |
| 15 |
|
|
#define FC_FUNC FC_GLOBAL |
| 16 |
|
|
#define FC_FUNC_ FC_GLOBAL_ |
| 17 |
|
|
|
| 18 |
|
|
/* Is defined if OpenMD should be compiled with single precision arithmetic. */ |
| 19 |
|
|
#cmakedefine SINGLE_PRECISION |
| 20 |
|
|
|
| 21 |
|
|
/* Define to dummy `main' function (if any) required to link to the Fortran |
| 22 |
|
|
libraries. */ |
| 23 |
|
|
#cmakedefine FC_DUMMY_MAIN |
| 24 |
|
|
|
| 25 |
|
|
/* Define if F77 and FC dummy `main' functions are identical. */ |
| 26 |
|
|
#cmakedefine FC_DUMMY_MAIN_EQ_F77 |
| 27 |
|
|
|
| 28 |
|
|
/* Define to a macro mangling the given C identifier (in lower and upper |
| 29 |
|
|
case), which must not contain underscores, for linking with Fortran. */ |
| 30 |
|
|
#cmakedefine FC_FUNC |
| 31 |
|
|
|
| 32 |
|
|
/* As FC_FUNC, but for C identifiers containing underscores. */ |
| 33 |
|
|
#cmakedefine FC_FUNC_ |
| 34 |
|
|
|
| 35 |
|
|
/* define if fstream::open() accepts third parameter. */ |
| 36 |
|
|
#cmakedefine FSTREAM_OPEN_PROT |
| 37 |
|
|
|
| 38 |
|
|
/* Is defined if the qhull library is available. */ |
| 39 |
|
|
#cmakedefine HAVE_QHULL |
| 40 |
|
|
|
| 41 |
|
|
/* Define to 1 if the system has the type `clock_t'. */ |
| 42 |
|
|
#cmakedefine HAVE_CLOCK_T 1 |
| 43 |
|
|
|
| 44 |
|
|
/* Define to 1 if you have the <cmath> header file. */ |
| 45 |
|
|
#cmakedefine HAVE_CMATH 1 |
| 46 |
|
|
|
| 47 |
|
|
/* Define to 1 if you have the <conio.h> header file. */ |
| 48 |
|
|
#cmakedefine HAVE_CONIO_H 1 |
| 49 |
|
|
|
| 50 |
|
|
/* Define to 1 if you have the <ctype.h> header file. */ |
| 51 |
|
|
#cmakedefine HAVE_CTYPE_H 1 |
| 52 |
|
|
|
| 53 |
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */ |
| 54 |
|
|
#cmakedefine HAVE_DLFCN_H 1 |
| 55 |
|
|
|
| 56 |
|
|
/* define if fftw3.h exists */ |
| 57 |
|
|
#cmakedefine HAVE_FFTW3_H |
| 58 |
|
|
|
| 59 |
|
|
/* define if fftw.h exists */ |
| 60 |
|
|
#cmakedefine HAVE_FFTW_H |
| 61 |
|
|
|
| 62 |
|
|
/* define if dfftw.h exists */ |
| 63 |
|
|
#cmakedefine HAVE_DFFTW_H |
| 64 |
|
|
|
| 65 |
|
|
|
| 66 |
|
|
|
| 67 |
|
|
/* Define to 1 if you have the `getsysinfo' function. */ |
| 68 |
|
|
#cmakedefine HAVE_GETSYSINFO 1 |
| 69 |
|
|
|
| 70 |
|
|
/* Define to 1 if you have the <libintl.h> header file. */ |
| 71 |
|
|
#cmakedefine HAVE_LIBINTL_H 1 |
| 72 |
|
|
|
| 73 |
|
|
/* Define to 1 if you have the `z' library (-lz). */ |
| 74 |
|
|
#cmakedefine HAVE_LIBZ 1 |
| 75 |
|
|
|
| 76 |
|
|
/* Define to 1 if you have the <limits.h> header file. */ |
| 77 |
|
|
#cmakedefine HAVE_LIMITS_H 1 |
| 78 |
|
|
|
| 79 |
|
|
/* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */ |
| 80 |
|
|
#cmakedefine HAVE_MACHINE_HAL_SYSINFO_H 1 |
| 81 |
|
|
|
| 82 |
|
|
|
| 83 |
|
|
|
| 84 |
|
|
/* Define to 1 if you have the `pstat_getdynamic' function. */ |
| 85 |
|
|
#cmakedefine HAVE_PSTAT_GETDYNAMIC 1 |
| 86 |
|
|
|
| 87 |
|
|
/* Define to 1 if you have the `pstat_getstatic' function. */ |
| 88 |
|
|
#cmakedefine HAVE_PSTAT_GETSTATIC 1 |
| 89 |
|
|
|
| 90 |
|
|
|
| 91 |
|
|
/* Define to 1 if you have the `strcasecmp' function. */ |
| 92 |
|
|
#cmakedefine HAVE_STRCASECMP 1 |
| 93 |
|
|
|
| 94 |
|
|
|
| 95 |
|
|
/* Define to 1 if you have the `stricmp' function. */ |
| 96 |
|
|
#cmakedefine HAVE_STRICMP 1 |
| 97 |
|
|
|
| 98 |
|
|
|
| 99 |
|
|
/* Define to 1 if you have the <string.h> header file. */ |
| 100 |
|
|
#cmakedefine HAVE_STRING_H 1 |
| 101 |
|
|
|
| 102 |
|
|
/* Define to 1 if you have the `sysmp' function. */ |
| 103 |
|
|
#cmakedefine HAVE_SYSMP 1 |
| 104 |
|
|
|
| 105 |
|
|
/* Define to 1 if you have the <sys/param.h> header file. */ |
| 106 |
|
|
#cmakedefine HAVE_SYS_PARAM_H 1 |
| 107 |
|
|
|
| 108 |
|
|
/* Define to 1 if you have the <sys/pstat.h> header file. */ |
| 109 |
|
|
#cmakedefine HAVE_SYS_PSTAT_H 1 |
| 110 |
|
|
|
| 111 |
|
|
/* Define to 1 if you have the <sys/select.h> header file. */ |
| 112 |
|
|
#cmakedefine HAVE_SYS_SELECT_H 1 |
| 113 |
|
|
|
| 114 |
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */ |
| 115 |
|
|
#cmakedefine HAVE_SYS_SOCKET_H 1 |
| 116 |
|
|
|
| 117 |
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */ |
| 118 |
|
|
#cmakedefine HAVE_SYS_STAT_H 1 |
| 119 |
|
|
|
| 120 |
|
|
/* Define to 1 if you have the <sys/sysctl.h> header file. */ |
| 121 |
|
|
#cmakedefine HAVE_SYS_SYSCTL_H 1 |
| 122 |
|
|
|
| 123 |
|
|
/* Define to 1 if you have the <sys/sysinfo.h> header file. */ |
| 124 |
|
|
#cmakedefine HAVE_SYS_SYSINFO_H 1 |
| 125 |
|
|
|
| 126 |
|
|
/* Define to 1 if you have the <sys/sysmp.h> header file. */ |
| 127 |
|
|
#cmakedefine HAVE_SYS_SYSMP_H 1 |
| 128 |
|
|
|
| 129 |
|
|
/* Define to 1 if you have the <sys/systemcfg.h> header file. */ |
| 130 |
|
|
#cmakedefine HAVE_SYS_SYSTEMCFG_H 1 |
| 131 |
|
|
|
| 132 |
|
|
/* Define to 1 if you have the <sys/table.h> header file. */ |
| 133 |
|
|
#cmakedefine HAVE_SYS_TABLE_H 1 |
| 134 |
|
|
|
| 135 |
|
|
/* Define to 1 if you have the `table' function. */ |
| 136 |
|
|
#cmakedefine HAVE_TABLE 1 |
| 137 |
|
|
|
| 138 |
|
|
|
| 139 |
|
|
/* Define if you have the _system_configuration variable. */ |
| 140 |
|
|
#cmakedefine HAVE__SYSTEM_CONFIGURATION |
| 141 |
|
|
|
| 142 |
|
|
/* Define to the one symbol short name of this package. */ |
| 143 |
|
|
#cmakedefine PACKAGE_TARNAME |
| 144 |
|
|
|
| 145 |
|
|
/* Define to the version of this package. */ |
| 146 |
|
|
#cmakedefine PACKAGE_VERSION |
| 147 |
|
|
|
| 148 |
|
|
/* Path to ps program */ |
| 149 |
|
|
#cmakedefine PSCOMMAND |
| 150 |
|
|
|
| 151 |
|
|
/* ps uses BSD-style arguments */ |
| 152 |
|
|
#define PSTYPE_IS_BSD |
| 153 |
|
|
|
| 154 |
|
|
|
| 155 |
|
|
/* Define to the type of arg 1 for `select'. */ |
| 156 |
|
|
#cmakedefine SELECT_TYPE_ARG1 |
| 157 |
|
|
|
| 158 |
|
|
/* Define to the type of args 2, 3 and 4 for `select'. */ |
| 159 |
|
|
#cmakedefine SELECT_TYPE_ARG234 |
| 160 |
|
|
|
| 161 |
|
|
/* Define to the type of arg 5 for `select'. */ |
| 162 |
|
|
#cmakedefine SELECT_TYPE_ARG5 |
| 163 |
|
|
|
| 164 |
|
|
/* Define to 1 if you have the ANSI C header files. */ |
| 165 |
|
|
#cmakedefine STDC_HEADERS |
| 166 |
|
|
|
| 167 |
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ |
| 168 |
|
|
#cmakedefine TIME_WITH_SYS_TIME |
| 169 |
|
|
|
| 170 |
|
|
/* needed by DEC/Compaq/HP cxx to activate ANSI standard iostream. */ |
| 171 |
|
|
#cmakedefine __USE_STD_IOSTREAM |
| 172 |
|
|
|
| 173 |
|
|
/* Define to empty if `const' does not conform to ANSI C. */ |
| 174 |
|
|
#cmakedefine const |
| 175 |
|
|
|
| 176 |
|
|
/* Code compiled in debug mode */ |
| 177 |
|
|
#cmakedefine debug |
| 178 |
|
|
|
| 179 |
|
|
/* Define to `__inline__' or `__inline' if that's what the C compiler |
| 180 |
|
|
calls it, or to nothing if 'inline' is not supported under any name. */ |
| 181 |
|
|
#ifndef __cplusplus |
| 182 |
|
|
#undef inline |
| 183 |
|
|
#endif |
| 184 |
|
|
|
| 185 |
|
|
/* Define to rpl_malloc if the replacement function should be used. */ |
| 186 |
|
|
#undef malloc |
| 187 |
|
|
|
| 188 |
|
|
/* Define to rpl_realloc if the replacement function should be used. */ |
| 189 |
|
|
#undef realloc |
| 190 |
|
|
|
| 191 |
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 192 |
|
|
#undef size_t |
| 193 |
|
|
|
| 194 |
|
|
#ifdef SINGLE_PRECISION |
| 195 |
|
|
typedef float RealType; |
| 196 |
|
|
#ifdef IS_MPI |
| 197 |
|
|
#define MPI_REALTYPE MPI_FLOAT |
| 198 |
|
|
#define REALTYPE FLOAT |
| 199 |
|
|
#define REALTYPE_INT FLOAT_INT |
| 200 |
|
|
#endif |
| 201 |
|
|
#else |
| 202 |
|
|
typedef double RealType; |
| 203 |
|
|
#ifdef IS_MPI |
| 204 |
|
|
#define MPI_REALTYPE MPI_DOUBLE |
| 205 |
|
|
#define REALTYPE DOUBLE |
| 206 |
|
|
#define REALTYPE_INT DOUBLE_INT |
| 207 |
|
|
#endif |
| 208 |
|
|
#endif |