turn off TLS based Cpv when not using gnu compiler.
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 10 Feb 2011 15:31:23 +0000 (15:31 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 10 Feb 2011 15:31:23 +0000 (15:31 +0000)
src/arch/bluegenep/conv-mach-smp.h

index 968093845f44fe73ba54d4ddfeb6b8a517e97a8f..449bde5721fb55e58f22781890dd3ca67e0b66c9 100644 (file)
@@ -11,4 +11,9 @@
 
 /* Right now only comm thread (no multicore) and tls thread version with gcc works on Blue Gene*/
 #define CMK_MULTICORE                                      0
-#define CMK_USE_TLS_THREAD                                 1 
+
+#ifdef __GNUC__
+#define CMK_NOT_USE_TLS_THREAD                             0
+#else
+#define CMK_NOT_USE_TLS_THREAD                             1
+#endif