updated argc before calling MPI_Init in case argc and argv do not agree.
[charm.git] / src / arch / net-linux-cell / conv-mach.h
1 #ifndef _CONV_MACH_H
2 #define _CONV_MACH_H
3
4 #define CMK_CELL                                           1
5
6 #define CMK_NETPOLL                                        1
7
8 #define CMK_ASYNC_NOT_NEEDED                               0
9 #define CMK_ASYNC_USE_FIOASYNC_AND_FIOSETOWN               0
10 #define CMK_ASYNC_USE_FIOASYNC_AND_SIOCSPGRP               0
11 #define CMK_ASYNC_USE_FIOSSAIOSTAT_AND_FIOSSAIOOWN         0
12 #define CMK_ASYNC_USE_F_SETFL_AND_F_SETOWN                 1
13
14 #define CMK_GETPAGESIZE_AVAILABLE                          1
15
16 #define CMK_IS_HETERO                                      1
17
18 #define CMK_MALLOC_USE_GNUOLD_MALLOC                       0
19 #define CMK_MALLOC_USE_GNU_MALLOC                          1
20 #define CMK_MALLOC_USE_OS_BUILTIN                          0
21
22 #define CMK_MEMORY_PAGESIZE                                8192
23 #define CMK_MEMORY_PROTECTABLE                             0
24
25 #define CMK_NODE_QUEUE_AVAILABLE                           0
26
27 #define CMK_RSH_IS_A_COMMAND                               1
28 #define CMK_RSH_NOT_NEEDED                                 0
29 #define CMK_RSH_USE_REMSH                                  0
30
31 #define CMK_SHARED_VARS_UNAVAILABLE                        1
32 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
33
34 #define CMK_THREADS_USE_CONTEXT                            0
35
36 #define CMK_SIGNAL_NOT_NEEDED                              0
37 #define CMK_SIGNAL_USE_SIGACTION                           0
38 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
39
40 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
41
42 #define CMK_THREADS_REQUIRE_NO_CPV                         0
43 #define CMK_THREADS_COPY_STACK                             0
44
45 #define CMK_TIMER_USE_GETRUSAGE                            1
46 #define CMK_TIMER_USE_SPECIAL                              0
47 #define CMK_TIMER_USE_TIMES                                0
48
49 #define CMK_TYPEDEF_INT2 short
50 #define CMK_TYPEDEF_INT4 int
51 #define CMK_TYPEDEF_INT8 long long
52 #define CMK_TYPEDEF_UINT2 unsigned short
53 #define CMK_TYPEDEF_UINT4 unsigned int
54 #define CMK_TYPEDEF_UINT8 unsigned long long
55 #define CMK_TYPEDEF_FLOAT4 float
56 #define CMK_TYPEDEF_FLOAT8 double
57
58 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
59 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
60
61 #define CMK_LBDB_ON                                        1
62
63 #define CMK_DEBUG_MODE                                     0
64 #define CMK_WEB_MODE                                       0  
65
66
67 #endif
68