Change CmiUInt2 msgType to CmiUInt1 cmaMsgType:2 in conv-common.h
[charm.git] / src / arch / mpi / conv-common.h
1
2 #define CMK_USE_LRTS                                      1
3
4 #define CMK_HAS_PARTITION                                1
5 #define CMK_HAS_INTEROP                                    1
6
7 #define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
8
9 #define CMK_CMIPRINTF_IS_A_BUILTIN                         0
10
11 #define CMI_MACH_TRACE_USEREVENTS                          0
12
13 #define CMK_STACKSIZE_DEFAULT                              65536
14
15 #define CMK_HANDLE_SIGUSR                                  1
16
17 #if CMK_ERROR_CHECKING
18 #define CMK_MSG_HEADER_EXT_    CmiUInt2 rank, hdl,xhdl,info, redID; CmiInt4 root; unsigned char cksum, magic, mpiMsgType; CmiUInt1 zcMsgType:2, cmaMsgType:2;
19 #else
20 #define CMK_MSG_HEADER_EXT_    CmiUInt2 rank, hdl,xhdl,info, redID; CmiInt4 root; unsigned char mpiMsgType; CmiUInt1 zcMsgType:2, cmaMsgType:2;
21 #endif
22
23 #define CMK_MSG_HEADER_BASIC  CMK_MSG_HEADER_EXT
24 #define CMK_MSG_HEADER_EXT    { CMK_MSG_HEADER_EXT_ }
25 #define CMK_MSG_HEADER_BIGSIM_    { CMK_MSG_HEADER_EXT_ CMK_BIGSIM_FIELDS }
26
27 #define CMK_MULTICAST_GROUP_TYPE                struct { unsigned pe, id; }
28 #define CMK_MULTICAST_DEF_USE_COMMON_CODE                  1
29 #define CMK_MULTICAST_LIST_USE_COMMON_CODE                 1
30 #define CMK_MULTICAST_GROUP_USE_COMMON_CODE                1
31
32 #define CMK_SSH_IS_A_COMMAND                               0
33 #define CMK_SSH_NOT_NEEDED                                 1
34
35 #define CMK_SPANTREE_MAXSPAN                               4
36 #define CMK_SPANTREE_USE_COMMON_CODE                       1
37
38 #define CMK_VECTOR_SEND_USES_COMMON_CODE                   1
39
40 #define NODE_0_IS_CONVHOST                                 1
41
42 #define CMK_IMMEDIATE_MSG                                  1
43 #define CMK_MACHINE_PROGRESS_DEFINED                       1
44
45 #define CMK_LB_CPUTIMER                                    0
46
47 #if CMK_CXX_MPI_BINDINGS==0
48 #define MPICH_IGNORE_CXX_SEEK //for build issues with mpich + intel
49 #endif
50
51 #define CMK_USE_COMMON_LOCK                                1
52
53 #define CMK_ONESIDED_IMPL                                  1