Added a new gcc4 configuration for the XT3 machine option only.
[charm.git] / src / arch / mpi-crayxt3 / 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_XT3                                            1
12
13 #define XT3_ONLY_PCQUEUE_WORKAROUND                        0
14
15 #define CMK_CONVERSE_MPI                                   1
16
17 #define CMK_MEMORY_PREALLOCATE_HACK                        0
18
19 #define CMK_DEFAULT_MAIN_USES_COMMON_CODE                  1
20
21 #define CMK_IS_HETERO                                      0
22
23 #define CMK_MALLOC_USE_GNU_MALLOC                          0
24 #define CMK_MALLOC_USE_OS_BUILTIN                          1
25
26 #define CMI_IO_BUFFER_EXPLICIT                             1
27 #define CMI_IO_FLUSH_USER                                  1
28
29 #define CMK_GETPAGESIZE_AVAILABLE                      1
30 #define CMK_MEMORY_PAGESIZE                                8192
31 #define CMK_MEMORY_PROTECTABLE                          0
32
33 #define CMK_NODE_QUEUE_AVAILABLE                           0
34
35 #define CMK_SHARED_VARS_EXEMPLAR                           0
36 #define CMK_SHARED_VARS_UNAVAILABLE                        1
37 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
38
39 #define CMK_SIGNAL_NOT_NEEDED                              0
40 #define CMK_SIGNAL_USE_SIGACTION                           0
41 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
42
43 #define CMK_THREADS_USE_CONTEXT                            0
44 #define CMK_THREADS_USE_PTHREADS                           0
45
46 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
47
48 #define CMK_THREADS_REQUIRE_NO_CPV                         0
49
50 #define CMK_TIMER_USE_GETRUSAGE                            0
51 #define CMK_TIMER_USE_SPECIAL                              1
52 #define CMK_TIMER_USE_TIMES                                0
53
54 #define CMK_TYPEDEF_INT2 short
55 #define CMK_TYPEDEF_INT4 int
56 #define CMK_TYPEDEF_INT8 long
57 #define CMK_TYPEDEF_UINT2 unsigned short
58 #define CMK_TYPEDEF_UINT4 unsigned int
59 #define CMK_TYPEDEF_UINT8 unsigned long
60 #define CMK_TYPEDEF_FLOAT4 float
61 #define CMK_TYPEDEF_FLOAT8 double
62
63 #define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
64 #define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
65
66 #define CMK_WEB_MODE                                       1
67 #define CMK_DEBUG_MODE                                     0
68
69 #define CMK_LBDB_ON                                        1
70
71 #define CMK_NO_SOCKETS                                     1
72
73 #undef  CMK_CCS_AVAILABLE
74 #define CMK_CCS_AVAILABLE                                  0
75
76 #endif
77