fix in infi_CmiFree the case in standalone mode for SMP.
[charm.git] / src / arch / multicore-linux64 / conv-mach.h
1
2 #ifndef _CONV_MACH_H
3 #define _CONV_MACH_H
4
5 #define CMK_SMP                                            1
6 #define CMK_MULTICORE                                      1
7 #define CMK_AMD64                                          1
8 #define CMK_64BIT    1
9
10 #define CMK_ASYNC_NOT_NEEDED                               1
11 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
12 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
13 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
14 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 0
15
16 #define CMK_DLL_CC  "g++ -shared -O3 -o "
17
18 #define CMK_GETPAGESIZE_AVAILABLE                          1
19
20 #define CMK_MALLOC_USE_GNU_MALLOC                          0
21 #define CMK_MALLOC_USE_OS_BUILTIN                          1
22
23 #define CMK_MEMORY_PAGESIZE                                8192
24 #define CMK_MEMORY_PROTECTABLE                             0
25
26 #define CMK_NODE_QUEUE_AVAILABLE                           0
27
28 #define CMK_RSH_IS_A_COMMAND                               1
29 #define CMK_RSH_NOT_NEEDED                                 0
30 #define CMK_RSH_USE_REMSH                                  0
31
32 #define CMK_SHARED_VARS_UNAVAILABLE                        0
33 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
34 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
35
36 #define CMK_THREADS_USE_CONTEXT                            1
37 #define CMK_THREADS_USE_PTHREADS                           0
38 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
39
40 #define CMK_SIGNAL_NOT_NEEDED                              1
41 #define CMK_SIGNAL_USE_SIGACTION                           0
42 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
43
44 #define CMK_THREADS_REQUIRE_NO_CPV                         0
45 #define CMK_THREADS_COPY_STACK                             0
46
47 #define CMK_TIMER_USE_RDTSC                                0
48 #define CMK_TIMER_USE_GETRUSAGE                            1
49 #define CMK_TIMER_USE_SPECIAL                              0
50 #define CMK_TIMER_USE_TIMES                                0
51
52 #define CMK_TYPEDEF_INT2 short
53 #define CMK_TYPEDEF_INT4 int
54 #define CMK_TYPEDEF_INT8 long long
55 #define CMK_TYPEDEF_UINT2 unsigned short
56 #define CMK_TYPEDEF_UINT4 unsigned int
57 #define CMK_TYPEDEF_UINT8 unsigned long long
58 #define CMK_TYPEDEF_FLOAT4 float
59 #define CMK_TYPEDEF_FLOAT8 double
60
61 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
62 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
63
64 #define CMK_DEBUG_MODE                                     0 
65 #define CMK_WEB_MODE                                       1
66
67 #define CMK_LBDB_ON                                        1
68
69 /*#define CMK_PCQUEUE_LOCK                                   1 */
70 /*Replaced by CMK_NOT_USE_TLS_THREAD for the default case*/
71 /*#define CMK_USE_TLS_THREAD                                 1*/
72
73 #undef NODE_0_IS_CONVHOST
74 #define NODE_0_IS_CONVHOST                                 1
75
76 #endif
77
78