Fixed to compile and run on origin2000 and origin-pthreads.
[charm.git] / src / arch / origin-pthreads / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_ASYNC_NOT_NEEDED                               1
5 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
6 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
7 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
8 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
9
10 #define CMK_CCS_AVAILABLE                                  0
11
12 #define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
13 #define CMK_CMIDELIVERS_USE_SPECIAL_CODE                   0
14
15 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
16 #define CMK_CMIPRINTF_IS_JUST_PRINTF                       1
17
18 #define CMK_COMMHANDLE_IS_AN_INTEGER                       0
19 #define CMK_COMMHANDLE_IS_A_POINTER                        1
20
21 #define CMK_CSDEXITSCHEDULER_IS_A_FUNCTION                 0
22 #define CMK_CSDEXITSCHEDULER_SET_CSDSTOPFLAG               1
23
24 #define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
25
26 #define CMK_FIX_HP_CONNECT_BUG                             0
27
28 #define CMK_GETPAGESIZE_AVAILABLE                          1
29
30 #define CMK_IS_HETERO                                      0
31
32 #define CMK_MACHINE_NAME                                   "origin-pthreads"
33
34 #define CMK_MALLOC_USE_GNU_MALLOC                          0
35 #define CMK_MALLOC_USE_OS_BUILTIN                          1
36
37 #define CMK_MEMORY_PAGESIZE                                8192
38 #define CMK_MEMORY_PROTECTABLE                             0
39
40 #define CMK_MSG_HEADER_BASIC  CMK_MSG_HEADER_EXT
41 #define CMK_MSG_HEADER_EXT    { CmiUInt2 hdl,xhdl,info,d3; }
42
43 #define CMK_MULTICAST_GROUP_TYPE                struct { unsigned pe, id; }
44 #define CMK_MULTICAST_DEF_USE_COMMON_CODE                  1
45 #define CMK_MULTICAST_LIST_USE_COMMON_CODE                 1
46 #define CMK_MULTICAST_GROUP_USE_COMMON_CODE                1
47
48 #define CMK_NODE_QUEUE_AVAILABLE                           0
49
50 #define CMK_REDUCTION_USES_COMMON_CODE                     1
51 #define CMK_REDUCTION_USES_SPECIAL_CODE                    0
52
53 #define CMK_RSH_IS_A_COMMAND                               0
54 #define CMK_RSH_NOT_NEEDED                                 1
55 #define CMK_RSH_USE_REMSH                                  0
56
57 #define CMK_SHARED_VARS_EXEMPLAR                           0
58 #define CMK_SHARED_VARS_UNAVAILABLE                        0
59 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
60 #define CMK_SHARED_VARS_SUN_THREADS                        0
61 #define CMK_SHARED_VARS_PTHREADS                           1
62
63 #define CMK_SIGHOLD_IS_A_BUILTIN                           0
64 #define CMK_SIGHOLD_NOT_NEEDED                             1
65 #define CMK_SIGHOLD_USE_SIGMASK                            0
66
67 #define CMK_SIGNAL_NOT_NEEDED                              1
68 #define CMK_SIGNAL_USE_SIGACTION                           0
69 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
70
71 #define CMK_SIZE_T                                         unsigned long
72
73 #define CMK_SPANTREE_MAXSPAN                               4
74 #define CMK_SPANTREE_USE_COMMON_CODE                       1
75 #define CMK_SPANTREE_USE_SPECIAL_CODE                      0
76
77 #define CMK_STRERROR_IS_A_BUILTIN                          1
78 #define CMK_STRERROR_USE_SYS_ERRLIST                       0
79
80 #define CMK_STRINGS_USE_OWN_DECLARATIONS                   0
81 #define CMK_STRINGS_USE_STRINGS_H                          0
82 #define CMK_STRINGS_USE_STRING_H                           1
83
84 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
85
86 #define CMK_THREADS_REQUIRE_NO_CPV                         0
87 #define CMK_THREADS_COPY_STACK                             0
88
89 #define CMK_THREADS_UNAVAILABLE                            0
90 #define CMK_THREADS_USE_ALLOCA                             0
91 #define CMK_THREADS_USE_JB_TWEAKING                        0
92 #define CMK_THREADS_USE_JB_TWEAKING_EXEMPLAR               0
93 #define CMK_THREADS_USE_JB_TWEAKING_ORIGIN                 1
94
95 #define CMK_TIMER_USE_GETRUSAGE                            0
96 #define CMK_TIMER_USE_SPECIAL                              0
97 #define CMK_TIMER_USE_TIMES                                0
98
99 #define CMK_TYPEDEF_INT2 short
100 #define CMK_TYPEDEF_INT4 int
101 #define CMK_TYPEDEF_INT8 long
102 #define CMK_TYPEDEF_UINT2 unsigned short
103 #define CMK_TYPEDEF_UINT4 unsigned int
104 #define CMK_TYPEDEF_UINT8 unsigned long
105 #define CMK_TYPEDEF_FLOAT4 float
106 #define CMK_TYPEDEF_FLOAT8 double
107
108
109 #define CMK_VECTOR_SEND_USES_COMMON_CODE                   1
110 #define CMK_VECTOR_SEND_USES_SPECIAL_CODE                  0
111
112 #define CMK_WAIT_NOT_NEEDED                                0
113 #define CMK_WAIT_USES_SYS_WAIT_H                           1
114 #define CMK_WAIT_USES_WAITFLAGS_H                          0
115
116 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
117 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
118
119 #define CMK_USE_HP_MAIN_FIX                                0
120 #define CMK_DONT_USE_HP_MAIN_FIX                           1
121
122 #define CMK_COMPILEMODE_ORIG                               1
123 #define CMK_COMPILEMODE_ANSI                               0
124
125 #define CMK_LBDB_ON                                        0
126 #define CMK_LBDB_OFF                                       1
127
128 #define CMK_STL_USE_DOT_H                                  0
129 #define CMK_STL_DONT_USE_DOT_H                             1
130
131 #define CPP_LOCATION "/usr/lib/cpp"
132
133 #define CMK_BOOL_DEFINED                                   0
134 #define CMK_BOOL_UNDEFINED                                 1
135
136 #endif
137