Changed the interOperate to a global variable so that it is initialized from
[charm.git] / src / arch / sim-linux / conv-mach.h
1 /*****************************************************************************
2  * $Source$
3  * $Author$
4  * $Date$
5  * $Revision$
6  *****************************************************************************/
7
8 #ifndef _CONV_MACH_H
9 #define _CONV_MACH_H
10
11 #define CMK_OPTIMIZE 1
12
13 #define CMK_CCS_AVAILABLE                                  0
14
15 #define CMK_CMIDELIVERS_USE_COMMON_CODE                    0
16 #define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   1
17
18 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
19
20 #define CMK_GETPAGESIZE_AVAILABLE                          0
21
22 #define CMK_HANDLE_SIGUSR                                  1
23
24 #define CMK_IS_HETERO                                      0
25
26
27 #define CMK_MALLOC_USE_GNU_MALLOC                          0
28 #define CMK_MALLOC_USE_OS_BUILTIN                          1
29
30 #define CMK_MEMORY_PAGESIZE                                8192
31 #define CMK_MEMORY_PROTECTABLE                             1
32
33 #define CMK_MSG_HEADER_BASIC  CMK_MSG_HEADER_EXT
34 #define CMK_MSG_HEADER_EXT    { CmiUInt2 hdl,xhdl,info,stratid,root,redID,padding2,padding3; }
35
36 #define CMK_MULTICAST_GROUP_TYPE                struct { unsigned pe, id; }
37 #define CMK_MULTICAST_DEF_USE_COMMON_CODE                  1
38 #define CMK_MULTICAST_LIST_USE_COMMON_CODE                 1
39 #define CMK_MULTICAST_GROUP_USE_COMMON_CODE                1
40
41 #define CMK_NODE_QUEUE_AVAILABLE                           0
42
43 #define CMK_RSH_IS_A_COMMAND                               1
44 #define CMK_RSH_NOT_NEEDED                                 0
45 #define CMK_RSH_USE_REMSH                                  0
46
47 #define CMK_SHARED_VARS_EXEMPLAR                           0
48 #define CMK_SHARED_VARS_UNAVAILABLE                        0
49 #define CMK_SHARED_VARS_UNIPROCESSOR                       1
50
51 #define CMK_SIGNAL_NOT_NEEDED                              0
52 #define CMK_SIGNAL_USE_SIGACTION                           1
53 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
54
55 #define CMK_SPANTREE_MAXSPAN                               4
56 #define CMK_SPANTREE_USE_COMMON_CODE                       1
57
58 #define CMK_THREADS_REQUIRE_NO_CPV                         0
59 #define CMK_THREADS_COPY_STACK                             0
60
61 #define CMK_TIMER_USE_GETRUSAGE                            0
62 #define CMK_TIMER_USE_SPECIAL                              0
63 #define CMK_TIMER_USE_TIMES                                0
64 #define CMK_TIMER_SIM_USE_GETRUSAGE                        1
65 #define CMK_TIMER_SIM_USE_TIMES                            0
66
67 #define CMK_TYPEDEF_INT2 short
68 #define CMK_TYPEDEF_INT4 int
69 #define CMK_TYPEDEF_INT8 long long
70 #define CMK_TYPEDEF_UINT2 unsigned short
71 #define CMK_TYPEDEF_UINT4 unsigned int
72 #define CMK_TYPEDEF_UINT8 unsigned long long
73 #define CMK_TYPEDEF_FLOAT4 float
74 #define CMK_TYPEDEF_FLOAT8 double
75
76 #define CMK_VECTOR_SEND_USES_COMMON_CODE                   1
77
78 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
79 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
80
81
82
83 #define CMK_LBDB_ON                                        0
84
85 #endif
86