Changed the interOperate to a global variable so that it is initialized from
[charm.git] / src / arch / mpi-bluegenep / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_BLUEGENEP                                      1
5
6 #define CMK_CONVERSE_MPI                                   1
7
8 #define CMK_NO_OUTSTANDING_SENDS                           0
9
10 #define CMK_MEMORY_PREALLOCATE_HACK                        1
11
12 #define CMK_NO_SOCKETS                                     1
13
14 #define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
15
16 #define CMK_GETPAGESIZE_AVAILABLE                          1
17
18 #define CMK_MALLOC_USE_GNU_MALLOC                          0
19 #define CMK_MALLOC_USE_OS_BUILTIN                          1
20
21 #define CMK_MEMORY_PAGESIZE                                8192
22 #define CMK_MEMORY_PROTECTABLE                             1
23
24 #define CMK_NODE_QUEUE_AVAILABLE                           0
25
26 #define CMK_SHARED_VARS_EXEMPLAR                           0
27 #define CMK_SHARED_VARS_UNAVAILABLE                        1
28 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
29
30 #define CMK_SIGNAL_NOT_NEEDED                              0
31 #define CMK_SIGNAL_USE_SIGACTION                           0
32 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
33
34 #define CMK_THREADS_USE_CONTEXT                            0
35 #define CMK_THREADS_USE_PTHREADS                           0
36 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
37
38 #define CMK_TIMER_USE_GETRUSAGE                            0
39 #define CMK_TIMER_USE_SPECIAL                              1
40 #define CMK_TIMER_USE_TIMES                                0
41 // This needs to be compiled with gcc only
42 // #define CMK_TIMER_USE_BLUEGENEP                         0
43
44 #define CMK_TYPEDEF_INT2 short
45 #define CMK_TYPEDEF_INT4 int
46 #define CMK_TYPEDEF_INT8 long long
47 #define CMK_TYPEDEF_UINT2 unsigned short
48 #define CMK_TYPEDEF_UINT4 unsigned int
49 #define CMK_TYPEDEF_UINT8 unsigned long long
50 #define CMK_TYPEDEF_FLOAT4 float
51 #define CMK_TYPEDEF_FLOAT8 double
52
53 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
54 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
55
56
57 #define CMK_WEB_MODE                                       1
58 #define CMK_DEBUG_MODE                                     0
59
60 #define CMK_LBDB_ON                                        1
61
62 #undef CMK_CCS_AVAILABLE
63 #define CMK_CCS_AVAILABLE                                  0
64
65 #endif
66