1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Copyright (C) 2008-2013 Free Software Foundation, Inc.
4 This file is part of the UPC runtime Library.
5 Written by Gary Funck <gary@intrepid.com>
6 and Nenad Vukicevic <nenad@intrepid.com>
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2, or (at
11 your option) any later version.
13 This library is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this library; see the file COPYING. If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330, Boston,
23 As a special exception, if you link this library with files
24 compiled with a GNU compiler to produce an executable, this does
25 not cause the resulting executable to be covered by the GNU General
26 Public License. This exception does not however invalidate any
27 other reasons why the executable file might be covered by the GNU
28 General Public License. */
30 #define __CONFIG_H__ 1
33 //begin gupcr_config_h
35 /* Define path to preferred addr2line for backtrace */
36 #undef GUPCR_BACKTRACE_ADDR2LINE
38 /* Define path to preferred GDB for backtrace */
39 #undef GUPCR_BACKTRACE_GDB
41 /* Define to preferred signal for UPC backtrace. */
42 #undef GUPCR_BACKTRACE_SIGNAL
44 /* Size of get/put bounce buffer */
45 #undef GUPCR_BOUNCE_BUFFER_SIZE
47 /* upc_global_exit() timeout in seconds. */
48 #undef GUPCR_GLOBAL_EXIT_TIMEOUT
50 /* Define to 1 if UPC runtime checks are supported. */
51 #undef GUPCR_HAVE_CHECKS
53 /* Define to 1 if UPC runtime debugging mode is enabled. */
54 #undef GUPCR_HAVE_DEBUG
56 /* Define if UPC GUM debug server is supported. */
57 #undef GUPCR_HAVE_GUM_DEBUG
59 /* Define to 1 if UPC runtime statistics collection is supported. */
60 #undef GUPCR_HAVE_STATS
62 /* Define to 1 if UPC runtime tracing is supported. */
63 #undef GUPCR_HAVE_TRACE
65 /* Use SLURM for UPC Portals4 job launcher */
66 #undef GUPCR_JOB_LAUNCHER_SLURM
68 /* Use YOD for UPC Portals4 job launcher */
69 #undef GUPCR_JOB_LAUNCHER_YOD
71 /* Maximum number of locks held per thread */
72 #undef GUPCR_MAX_LOCKS
74 /* Maximum number of outstanding remote puts */
75 #undef GUPCR_MAX_OUTSTANDING_PUTS
77 /* Target system memory page size. */
78 #undef GUPCR_MEMORY_PAGE_SIZE
80 /* Define to 1 if UPC runtime will use node local memory accesses. */
81 #undef GUPCR_NODE_LOCAL_MEM
83 /* Define to 1 if UPC node local access uses mmap-ed file. */
84 #undef GUPCR_NODE_LOCAL_MEM_MMAP
86 /* Define to 1 if UPC node local access uses Posix shared memory. */
87 #undef GUPCR_NODE_LOCAL_MEM_POSIX
89 /* Portals4 PTE base index. */
92 /* The required alignment for the UPC struct shared pointer representation. */
93 #undef GUPCR_PTS_ALIGN
95 /* Whether UPC pointers-to-shared use the 'packed' representation */
96 #undef GUPCR_PTS_PACKED_REP
98 /* Size of shared pointer's phase field (in bits) */
99 #undef GUPCR_PTS_PHASE_SIZE
101 /* The data type of the 'phase' field in a UPC shared pointer */
102 #undef GUPCR_PTS_PHASE_TYPE
104 /* Whether UPC shared pointers use the 'struct' representation */
105 #undef GUPCR_PTS_STRUCT_REP
107 /* Size of shared pointer's thread field (in bits) */
108 #undef GUPCR_PTS_THREAD_SIZE
110 /* The data type of the 'thread' field in a UPC shared pointer */
111 #undef GUPCR_PTS_THREAD_TYPE
113 /* Whether the 'vaddr' field comes first (ie, [[vaddr,thread,phase]]) */
114 #undef GUPCR_PTS_VADDR_FIRST
116 /* Size of shared pointer's vaddr field (in bits) */
117 #undef GUPCR_PTS_VADDR_SIZE
119 /* The data type of the 'vaddr' field in a UPC shared pointer */
120 #undef GUPCR_PTS_VADDR_TYPE
122 /* Maximum number of children at each level of a collective operation tree. */
123 #undef GUPCR_TREE_FANOUT
125 /* Define to 1 if UPC runtime will use Portals4 triggered operations. */
126 #undef GUPCR_USE_PORTALS4_TRIGGERED_OPS
130 /* Define to 1 if the target assembler supports .symver directive. */
131 #undef HAVE_AS_SYMVER_DIRECTIVE
133 /* Define to 1 if the target supports __attribute__((alias(...))). */
134 #undef HAVE_ATTRIBUTE_ALIAS
136 /* Define to 1 if the target supports __attribute__((dllexport)). */
137 #undef HAVE_ATTRIBUTE_DLLEXPORT
139 /* Define to 1 if the target supports __attribute__((visibility(...))). */
140 #undef HAVE_ATTRIBUTE_VISIBILITY
142 /* Define to 1 if you have the `backtrace' function. */
143 #undef HAVE_BACKTRACE
145 /* Define to 1 if you have the `backtrace_symbols' function. */
146 #undef HAVE_BACKTRACE_SYMBOLS
148 /* Define to 1 if you have the `backtrace_symbols_fd' function. */
149 #undef HAVE_BACKTRACE_SYMBOLS_FD
151 /* Define if the POSIX Semaphores do not work on your system. */
152 #undef HAVE_BROKEN_POSIX_SEMAPHORES
154 /* Define to 1 if the target assembler supports thread-local storage. */
157 /* Define to 1 if you have the `clock_gettime' function. */
158 #undef HAVE_CLOCK_GETTIME
160 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
162 #undef HAVE_DECL_SYS_SIGLIST
164 /* Define to 1 if you have the <dlfcn.h> header file. */
167 /* Define to 1 if you have the <execinfo.h> header file. */
168 #undef HAVE_EXECINFO_H
170 /* Define to 1 if you have the <fcntl.h> header file. */
173 /* Define to 1 if you have the `fork' function. */
176 /* Define to 1 if you have the `ftruncate' function. */
177 #undef HAVE_FTRUNCATE
179 /* Define to 1 if you have the `getcwd' function. */
182 /* Define to 1 if you have the `gethostbyname' function. */
183 #undef HAVE_GETHOSTBYNAME
185 /* Define to 1 if you have the `gethostname' function. */
186 #undef HAVE_GETHOSTNAME
188 /* Define to 1 if you have the `getloadavg' function. */
189 #undef HAVE_GETLOADAVG
191 /* Define to 1 if you have the `getpagesize' function. */
192 #undef HAVE_GETPAGESIZE
194 /* Define if the compiler has a thread header that is non single. */
195 #undef HAVE_GTHR_DEFAULT
197 /* Define to 1 if you have the <inttypes.h> header file. */
198 #undef HAVE_INTTYPES_H
200 /* Define to 1 if you have the <limits.h> header file. */
203 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
207 /* Define to 1 if you have the <memory.h> header file. */
210 /* Define to 1 if you have the `memset' function. */
213 /* Define to 1 if you have the `mkdir' function. */
216 /* Define to 1 if you have a working `mmap' system call. */
219 /* Define to 1 if you have the `munmap' function. */
222 /* Define to 1 if you have the <netdb.h> header file. */
225 /* Define to 1 if you have the <netinet/in.h> header file. */
226 #undef HAVE_NETINET_IN_H
228 /* Define to 1 if pthread_{,attr_}{g,s}etaffinity_np is supported. */
229 #undef HAVE_PTHREAD_AFFINITY_NP
231 /* Define to 1 if the system has the type `ptrdiff_t'. */
232 #undef HAVE_PTRDIFF_T
234 /* Define to 1 if you have the <sched.h> header file. */
237 /* Define to 1 if you have the <semaphore.h> header file. */
238 #undef HAVE_SEMAPHORE_H
240 /* Define to 1 if you have the 'shm_open' function. */
243 /* Define to 1 if you have the `socket' function. */
246 /* Define to 1 if `stat' has the bug that it succeeds when given the
247 zero-length file name argument. */
248 #undef HAVE_STAT_EMPTY_STRING_BUG
250 /* Define to 1 if you have the <stddef.h> header file. */
253 /* Define to 1 if you have the <stdint.h> header file. */
256 /* Define to 1 if you have the <stdlib.h> header file. */
259 /* Define to 1 if you have the `strcasecmp' function. */
260 #undef HAVE_STRCASECMP
262 /* Define to 1 if you have the `strdup' function. */
265 /* Define to 1 if you have the `strerror' function. */
268 /* Define to 1 if you have the <strings.h> header file. */
269 #undef HAVE_STRINGS_H
271 /* Define to 1 if you have the <string.h> header file. */
274 /* Define to 1 if you have the `strtol' function. */
277 /* Define to 1 if you have the `strtoull' function. */
280 /* Define to 1 if the target supports __sync_*_compare_and_swap. */
281 #undef HAVE_SYNC_BUILTINS
283 /* Define to 1 if the compiler provides the __sync_fetch_and_add function for
285 #undef HAVE_SYNC_FETCH_AND_ADD_4
287 /* Define to 1 if the compiler provides the __sync_fetch_and_add function for
289 #undef HAVE_SYNC_FETCH_AND_ADD_8
291 /* Define to 1 if you have the <sys/loadavg.h> header file. */
292 #undef HAVE_SYS_LOADAVG_H
294 /* Define to 1 if you have the <sys/socket.h> header file. */
295 #undef HAVE_SYS_SOCKET_H
297 /* Define to 1 if you have the <sys/stat.h> header file. */
298 #undef HAVE_SYS_STAT_H
300 /* Define to 1 if you have the <sys/types.h> header file. */
301 #undef HAVE_SYS_TYPES_H
303 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
304 #undef HAVE_SYS_WAIT_H
306 /* Define to 1 if the target supports thread-local storage. */
309 /* Define to 1 if you have the <unistd.h> header file. */
312 /* Define to 1 if UPC backtrace is enabled. */
313 #undef HAVE_UPC_BACKTRACE
315 /* Define to 1 if UPC backtrace with ADDR2LINE is enabled. */
316 #undef HAVE_UPC_BACKTRACE_ADDR2LINE
318 /* Define to 1 if UPC backtrace with GDB is enabled. */
319 #undef HAVE_UPC_BACKTRACE_GDB
321 /* Define to 1 if UPC backtrace signal is enabled. */
322 #undef HAVE_UPC_BACKTRACE_SIGNAL
324 /* Define to 1 if UPC link script is supported. */
325 #undef HAVE_UPC_LINK_SCRIPT
327 /* Define to 1 if you have the `vfork' function. */
330 /* Define to 1 if you have the <vfork.h> header file. */
333 /* Define to 1 if `fork' works. */
334 #undef HAVE_WORKING_FORK
336 /* Define to 1 if `vfork' works. */
337 #undef HAVE_WORKING_VFORK
339 /* Define to 1 if GNU symbol versioning is used for libgupc. */
340 #undef LIBGUPC_GNU_SYMBOL_VERSIONING
342 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
344 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
346 /* Define to the sub-directory in which libtool stores uninstalled libraries.
350 /* Name of package */
353 /* Define to the address where bug reports for this package should be sent. */
354 #undef PACKAGE_BUGREPORT
356 /* Define to the full name of this package. */
359 /* Define to the full name and version of this package. */
360 #undef PACKAGE_STRING
362 /* Define to the one symbol short name of this package. */
363 #undef PACKAGE_TARNAME
365 /* Define to the home page for this package. */
368 /* Define to the version of this package. */
369 #undef PACKAGE_VERSION
371 /* The size of `char', as computed by sizeof. */
374 /* The size of `int', as computed by sizeof. */
377 /* The size of `long', as computed by sizeof. */
380 /* The size of `short', as computed by sizeof. */
383 /* The size of `void *', as computed by sizeof. */
386 /* Define to 1 if you have the ANSI C header files. */
389 /* Define if you can safely include both <string.h> and <strings.h>. */
390 #undef STRING_WITH_STRINGS
392 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
393 #undef TIME_WITH_SYS_TIME
395 /* Version number of package */
398 /* Number of bits in a file offset, on hosts where this is settable. */
399 #undef _FILE_OFFSET_BITS
401 /* Define for large files, on AIX-style hosts. */
404 /* Define to empty if `const' does not conform to ANSI C. */
407 /* Define to `__inline__' or `__inline' if that's what the C compiler
408 calls it, or to nothing if 'inline' is not supported under any name. */
413 /* Define to rpl_malloc if the replacement function should be used. */
416 /* Define to `int' if <sys/types.h> does not define. */
419 /* Define to `long int' if <sys/types.h> does not define. */
422 /* Define to `int' if <sys/types.h> does not define. */
425 /* Define to `unsigned int' if <sys/types.h> does not define. */
428 /* Define as `fork' if `vfork' does not work. */
431 /* Define to empty if the keyword `volatile' does not work. Warning: valid
432 code using `volatile' can become incorrect without. Disable with care. */
437 # define ARG_UNUSED(NAME) NAME __attribute__ ((__unused__))
442 #endif /* __CONFIG_H__ */