Enable MPI_SMP.
[charm.git] / src / arch / mpi-bluegeneq / conv-mach-smp.h
1 #define CMK_SMP                                            1
2
3 #undef CMK_NODE_QUEUE_AVAILABLE
4 #define CMK_NODE_QUEUE_AVAILABLE                           1
5
6 #undef CMK_SHARED_VARS_UNAVAILABLE
7 #undef CMK_SHARED_VARS_POSIX_THREADS_SMP
8 #define CMK_SHARED_VARS_UNAVAILABLE                        0
9 #define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
10
11 /* Right now only comm thread (no multicore) and tls thread version with gcc works on Blue Gene*/
12 #define CMK_MULTICORE                                      0
13
14 #ifdef __GNUC__
15 #define CMK_NOT_USE_TLS_THREAD                             0
16 #else
17 #define CMK_NOT_USE_TLS_THREAD                             0
18 #endif
19
20 #define CMK_PCQUEUE_LOCK                                   1