1 /* Manually created from config.h.in to work with cmake */
3 /* Disable warnings about double-to-float conversion accuracy loss on MSVC */
5 #pragma warning (disable : 4305)
6 #pragma warning (disable : 4244)
7 #pragma warning (disable : 4101)
8 #pragma warning (disable : 4996)
9 #pragma warning (disable : 4267)
10 #pragma warning (disable : 4090)
13 /* Name of package (translate from cmake to autoconf macro name) */
14 #define PACKAGE "@PROJECT_NAME@"
16 /* Version number of package (translate from cmake to autoconf macro name) */
17 #define VERSION "@PROJECT_VERSION@"
19 /* Use the version string from generated version.h */
20 #cmakedefine USE_VERSION_H
22 /* Default location of data files */
23 #cmakedefine GMXLIBDIR "@GMXLIBDIR@"
25 /* Hardware and OS version for build host */
26 #cmakedefine BUILD_MACHINE "@BUILD_MACHINE@"
28 /* Date and time for build */
29 #cmakedefine BUILD_TIME "@BUILD_TIME@"
31 /* User doing build */
32 #cmakedefine BUILD_USER "@BUILD_USER@"
34 /* Turn off water-water neighborlist optimization only */
35 #cmakedefine DISABLE_WATERWATER_NLIST
37 /* Turn off all water neighborlist optimization */
38 #cmakedefine DISABLE_WATER_NLIST
41 #cmakedefine GMX_FORTRAN
43 /* Define to a macro mangling the given C identifier (in lower and upper
44 case), which must not contain underscores, for linking with Fortran. */
45 #define F77_FUNC(name,NAME) @F77_FUNCDEF@
47 /* As F77_FUNC, but for C identifiers containing underscores. */
48 #define F77_FUNC_(name,NAME) @F77_FUNCDEF_@
50 /* Use the d prefix on fftw2 includes */
51 #cmakedefine FFTW2_NAME_DFFTW
53 /* Dont use any prefix on fftw2 includes */
54 #cmakedefine FFTW2_NAME_FFTW
56 /* Use the s prefix on fftw2 includes */
57 #cmakedefine FFTW2_NAME_SFFTW
59 /* IEEE754 floating-point format. Memory layout is defined by macros
60 * GMX_IEEE754_BIG_ENDIAN_BYTE_ORDER and GMX_IEEE754_BIG_ENDIAN_WORD_ORDER.
62 #cmakedefine GMX_FLOAT_FORMAT_IEEE754
64 /* Use assembly intrinsics kernels for BlueGene */
65 #cmakedefine GMX_BLUEGENE
67 /* Power6 acceleration */
68 #cmakedefine GMX_POWER6
70 /* Work around broken calloc() */
71 #cmakedefine GMX_BROKEN_CALLOC
73 /* Enable special hacks for Cray XT3 */
74 #cmakedefine GMX_CRAY_XT3
76 /* Do not optimize FFTW setups (not needed with SSE FFT kernels) */
77 #cmakedefine GMX_DISABLE_FFTW_MEASURE
79 /* Compile in double precision */
80 #cmakedefine GMX_DOUBLE
82 /* Use Built-in FFTPACK FFT library */
83 #cmakedefine GMX_FFT_FFTPACK
85 /* Use FFTW2 FFT library */
86 #cmakedefine GMX_FFT_FFTW2
88 /* Use FFTW3 FFT library */
89 #cmakedefine GMX_FFT_FFTW3
91 /* Use Intel MKL FFT library */
92 #cmakedefine GMX_FFT_MKL
94 /* Use AMD core math library */
95 #cmakedefine GMX_FFT_ACML
97 /* Single-precision SSE instructions on ia32 */
98 #cmakedefine GMX_IA32_SSE
100 /* Double-precision SSE2 instructions on ia32 */
103 /* Use ia64 assembly tuned for Itanium2 */
104 #cmakedefine GMX_IA64_ASM
106 /* Integer byte order is big endian. */
107 #cmakedefine GMX_INTEGER_BIG_ENDIAN
109 /* Use our own instead of system XDR libraries */
110 #cmakedefine GMX_INTERNAL_XDR
112 /* Use MPI (with mpicc) for parallelization */
113 #cmakedefine GMX_LIB_MPI
115 /* MPI_IN_PLACE exists for collective operations */
116 #cmakedefine MPI_IN_PLACE_EXISTS
118 /* Make a parallel version of GROMACS using message passing
119 (MPI or thread_mpi) */
122 /* Use threads for parallelization */
123 #cmakedefine GMX_THREADS
125 /* Use old threading (domain decomp force calc) code */
126 #cmakedefine GMX_THREAD_SHM_FDECOMP
128 /* Ignore calls to nice(3) */
129 #cmakedefine GMX_NO_NICE
131 /* Ignore calls to system(3) */
132 #cmakedefine GMX_NO_SYSTEM
134 /* Use PowerPC Altivec inner loops */
135 #cmakedefine GMX_PPC_ALTIVEC
137 /* Use (modified) Gamess-UK for QM-MM calculations */
138 #cmakedefine GMX_QMMM_GAMESS
140 /* Use (modified) Gaussian0x for QM-MM calculations */
141 #cmakedefine GMX_QMMM_GAUSSIAN
143 /* Use (modified) Mopac 7 for QM-MM calculations */
144 #cmakedefine GMX_QMMM_MOPAC
146 /* Use the GROMACS software 1/sqrt(x) */
147 #cmakedefine GMX_SOFTWARE_INVSQRT
149 /* Compile with dlopen */
150 #cmakedefine GMX_DLOPEN
152 /* Use pthreads for thread_mpi multithreading */
153 #cmakedefine THREAD_PTHREADS
156 #cmakedefine HAVE_PTHREAD_H
158 /* Define for busy wait option */
159 #cmakedefine TMPI_WAIT_FOR_NO_ONE
161 /* Define for copy buffer option */
162 #cmakedefine TMPI_COPY_BUFFER
164 /* Define for profiling option */
165 #cmakedefine TMPI_PROFILE
167 /* Define for sysconf() */
168 #cmakedefine HAVE_SYSCONF
170 /* Define for GetSystemInfo() */
171 #cmakedefine HAVE_SYSTEM_INFO
173 /* Single-precision SSE instructions on X86_64 */
174 #cmakedefine GMX_X86_64_SSE
176 /* Double-precision SSE2 instructions on X86_64 */
177 #undef GMX_X86_64_SSE2
179 /* Enable x86 gcc inline assembly */
180 #cmakedefine GMX_X86_GCC_INLINE_ASM
182 /* Enable x86 MSVC inline assembly */
183 #cmakedefine GMX_X86_MSVC_INLINE_ASM
185 /* Support for SSE intrinsics */
188 /* Support for SSE2 intrinsics */
189 #cmakedefine GMX_SSE2
191 /* Support for SSE3 intrinsics */
192 #cmakedefine GMX_SSE3
194 /* Support for SSE4.1 intrinsics */
195 #cmakedefine GMX_SSE4_1
197 /* Define to 1 if you have the <altivec.h> header file. */
198 #cmakedefine HAVE_ALTIVEC_H
200 /* Define to 1 if the system has the type bool. */
201 #cmakedefine HAVE_BOOL
203 /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
204 #cmakedefine HAVE_FSEEKO
206 /* Define to 1 if you have the <inttypes.h> header file. */
207 #cmakedefine HAVE_INTTYPES_H
209 /* Define to 1 if you have the m library (-lm). */
210 #cmakedefine HAVE_LIBM
212 /* Define to 1 if you have the mkl library (-lmkl). */
213 #cmakedefine HAVE_LIBMKL
215 /* Define to 1 if you have the xml2 library (-lxml2). */
216 #cmakedefine HAVE_LIBXML2
218 /* Define to 1 if you have the <limits.h> header file. */
219 #cmakedefine HAVE_LIMITS_H
221 /* Define to 1 if you have the <memory.h> header file. */
222 #cmakedefine HAVE_MEMORY_H
224 /* Define to 1 if you have the <regex.h> header file. */
225 #cmakedefine HAVE_REGEX_H
227 /* Define to 1 if you have the <rpc/rpc.h> header file. */
228 #cmakedefine HAVE_RPC_RPC_H
230 /* Define to 1 if you have the <rpc/xdr.h> header file. */
231 #cmakedefine HAVE_RPC_XDR_H
233 /* Define to 1 if you have the <stdint.h> header file. */
234 #cmakedefine HAVE_STDINT_H
236 /* Define to 1 if you have the <stdlib.h> header file. */
237 #cmakedefine HAVE_STDLIB_H
239 /* Define to 1 if you have the <stdlib.h> header file. */
240 #cmakedefine HAVE_SCHED_H
242 /* Have copyfile.h */
243 #cmakedefine HAVE_COPYFILE_H
245 /* Have io.h (windows)*/
246 #cmakedefine HAVE_IO_H
248 /* Define to 1 if you have the strcasecmp() function. */
249 #cmakedefine HAVE_STRCASECMP
251 /* Define to 1 if you have the strdup() function. */
252 #cmakedefine HAVE_STRDUP
254 /* Define to 1 if you have the vfprintf() function. */
255 #cmakedefine HAVE_VFPRINTF
257 /* Define to 1 if you have the memcmp() function. */
258 #cmakedefine HAVE_MEMCMP
260 /* Define to 1 if you have the gettimeofday() function. */
261 #cmakedefine HAVE_GETTIMEOFDAY
263 /* Define to 1 if you have the cbrt() function. */
264 #cmakedefine HAVE_CBRT
266 /* Define to 1 if you have the isnan() function. */
267 #cmakedefine HAVE_ISNAN
269 /* Define to 1 if you have the _isnan() function. */
270 #cmakedefine HAVE__ISNAN
272 /* Define to 1 if you have the isfinite() function. */
273 #cmakedefine HAVE_ISFINITE
275 /* Define to 1 if you have the _isfinite() function. */
276 #cmakedefine HAVE__ISFINITE
278 /* Define to 1 if you have the fsync() function. */
279 #cmakedefine HAVE_FSYNC
281 /* Define to 1 if you have the Windows _commit() function. */
282 #cmakedefine HAVE__COMMIT
284 /* Define to 1 if you have the fileno() function. */
285 #cmakedefine HAVE_FILENO
287 /* Define to 1 if you have the _fileno() function. */
288 #cmakedefine HAVE__FILENO
290 /* Define to 1 if you have the copyfile() function. */
291 #cmakedefine HAVE_COPYFILE
293 /* Define to 1 if you have the Windows CopyFile() function. */
294 #cmakedefine HAVE_WIN_COPYFILE
296 /* Define to 1 if you have the <string.h> header file. */
297 #cmakedefine HAVE_STRING_H
299 /* Define to 1 if you have the <sys/stat.h> header file. */
300 #cmakedefine HAVE_SYS_STAT_H
302 /* Define to 1 if you have the <sys/types.h> header file. */
303 #cmakedefine HAVE_SYS_TYPES_H
305 /* Define to 1 if you have the <sys/time.h> header file. */
306 #cmakedefine HAVE_SYS_TIME_H
308 /* Define to 1 if you have the <unistd.h> header file. */
309 #cmakedefine HAVE_UNISTD_H
311 /* Define to 1 if you have the vprintf() function. */
312 #cmakedefine HAVE_VPRINTF
314 /* Bytes in IEEE fp word are in big-endian order if set, little-endian if not.
315 Only relevant when FLOAT_FORMAT_IEEE754 is defined. */
316 #cmakedefine GMX_IEEE754_BIG_ENDIAN_BYTE_ORDER
318 /* The two words in a double precision variable are in b ig-endian order if
319 set, little-endian if not. Do NOT assume this is the same as the byte
320 order! Only relevant when FLOAT_FORMAT_IEEE754 is defined. */
321 #cmakedefine GMX_IEEE754_BIG_ENDIAN_WORD_ORDER
323 /* Define as the return type of signal handlers (int or void). */
324 #cmakedefine RETSIGTYPE @RETSIGTYPE@
326 /* Define if SIGUSR1 is present */
327 #cmakedefine HAVE_SIGUSR1
329 /* The size of int, as computed by sizeof. */
330 #cmakedefine SIZEOF_INT @SIZEOF_INT@
332 /* The size of long int, as computed by sizeof. */
333 #cmakedefine SIZEOF_LONG_INT @SIZEOF_LONG_INT@
335 /* The size of long long int, as computed by sizeof. */
336 #cmakedefine SIZEOF_LONG_LONG_INT @SIZEOF_LONG_LONG_INT@
338 /* The size of off_t, as computed by sizeof. */
339 #cmakedefine SIZEOF_OFF_T @SIZEOF_OFF_T@
341 /* The size of void*, as computed by sizeof. */
342 #cmakedefine SIZEOF_VOIDP @SIZEOF_VOIDP@
344 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
345 #cmakedefine _LARGEFILE_SOURCE
347 /* Define for large files, on AIX-style hosts. */
348 #cmakedefine _LARGE_FILES
350 /* Some systems requires this to be set to 64 for large file support */
351 #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
353 /* Gromacs shortcut define for fseeko & ftello being present with 64-bit support */
354 #cmakedefine GMX_LARGEFILES
356 /* Define to int if <sys/types.h> does not define. */
357 #cmakedefine gid_t int
359 /* Define to __inline__ or __inline if that is what the C compiler
360 calls it, or to nothing if inline is not supported under any name. */
362 #define inline ${INLINE_KEYWORD}
371 /* Define to long int if <sys/types.h> does not define. */
372 #cmakedefine off_t int
374 /* Define to unsigned int if <sys/types.h> does not define. */
375 #cmakedefine size_t int
377 /* Define to int if <sys/types.h> does not define. */
378 #cmakedefine uid_t int
380 /* Build special-purpose mdrun library */
381 #cmakedefine GMX_FAHCORE
384 #define FULLINDIRECT 1
385 #define USE_FAH_XDR 1
386 #include "swindirect.h"
389 /* Define if we have pipes */
390 #cmakedefine HAVE_PIPES