patch to support mpi-bluegenep-xlc-smp mpi-bluegenep-mpcc-smp
authorEric Bohm <ebohm@illinois.edu>
Fri, 17 Feb 2012 20:12:59 +0000 (20:12 +0000)
committerEric Bohm <ebohm@illinois.edu>
Fri, 17 Feb 2012 20:12:59 +0000 (20:12 +0000)
src/arch/mpi-bluegenep/conv-mach-smp.h [new file with mode: 0644]
src/arch/mpi-bluegenep/conv-mach-smp.sh [new file with mode: 0644]
src/arch/mpi-bluegenep/conv-mach.sh

diff --git a/src/arch/mpi-bluegenep/conv-mach-smp.h b/src/arch/mpi-bluegenep/conv-mach-smp.h
new file mode 100644 (file)
index 0000000..d5a1dce
--- /dev/null
@@ -0,0 +1,21 @@
+
+#define CMK_SMP                                                   1
+
+#undef CMK_NODE_QUEUE_AVAILABLE
+#define CMK_NODE_QUEUE_AVAILABLE                           1
+
+#undef CMK_SHARED_VARS_UNAVAILABLE
+#undef CMK_SHARED_VARS_POSIX_THREADS_SMP
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_POSIX_THREADS_SMP                  1
+
+/* Right now only comm thread (no multicore) and tls thread version with gcc works on Blue Gene*/
+#define CMK_MULTICORE                                      0
+
+#ifdef __GNUC__
+#define CMK_NOT_USE_TLS_THREAD                             0
+#else
+#define CMK_NOT_USE_TLS_THREAD                             1
+#endif
+
+#define CMK_PCQUEUE_LOCK                                   1
diff --git a/src/arch/mpi-bluegenep/conv-mach-smp.sh b/src/arch/mpi-bluegenep/conv-mach-smp.sh
new file mode 100644 (file)
index 0000000..e69de29
index c36a9bddef98db85411fe255d399ec5c50046f47..fe87dd92171ab29573b2996a265047a6c41e638e 100644 (file)
@@ -56,4 +56,4 @@ CMK_MOD_NAME_ALLCAPS=1
 CMK_MOD_EXT="mod"
 CMK_F90_USE_MODDIR=1
 CMK_F90_MODINC="-p"
-CMK_QT="generic"
+CMK_QT="aix"