added uth for 64 bit
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 25 Nov 2008 19:31:46 +0000 (19:31 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 25 Nov 2008 19:31:46 +0000 (19:31 +0000)
src/arch/uth-linux-x86_64/conv-mach.h [new file with mode: 0644]
src/arch/uth-linux-x86_64/conv-mach.sh [new file with mode: 0644]

diff --git a/src/arch/uth-linux-x86_64/conv-mach.h b/src/arch/uth-linux-x86_64/conv-mach.h
new file mode 100644 (file)
index 0000000..75b8f39
--- /dev/null
@@ -0,0 +1,79 @@
+/*****************************************************************************
+ * $Source$
+ * $Author$
+ * $Date$
+ * $Revision$
+ *****************************************************************************/
+
+#ifndef _CONV_MACH_H
+#define _CONV_MACH_H
+
+#define CMK_AMD64                                          1
+#define CMK_64BIT                                          1
+
+#define CMK_CCS_AVAILABLE                                  0
+
+#define CMK_CMIDELIVERS_USE_COMMON_CODE                    1
+
+#define CMK_CMIPRINTF_IS_A_BUILTIN                         0
+
+#define CMK_GETPAGESIZE_AVAILABLE                          0
+
+#define CMK_HANDLE_SIGUSR                                  1
+
+#define CMK_MALLOC_USE_GNU_MALLOC                          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
+
+#define CMK_MEMORY_PAGESIZE                                8192
+#define CMK_MEMORY_PROTECTABLE                             1
+
+#define CMK_MULTICAST_GROUP_TYPE                struct { unsigned pe, id; }
+#define CMK_MULTICAST_DEF_USE_COMMON_CODE                  1
+#define CMK_MULTICAST_LIST_USE_COMMON_CODE                 1
+#define CMK_MULTICAST_GROUP_USE_COMMON_CODE                1
+
+#define CMK_NODE_QUEUE_AVAILABLE                           0
+
+#define CMK_RSH_IS_A_COMMAND                               1
+#define CMK_RSH_NOT_NEEDED                                 0
+#define CMK_RSH_USE_REMSH                                  0
+
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       1
+
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           1
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
+
+#define CMK_SPANTREE_MAXSPAN                               4
+#define CMK_SPANTREE_USE_COMMON_CODE                       1
+
+#define CMK_THREADS_USE_CONTEXT                            1
+#define CMK_THREADS_USE_PTHREADS                           0
+#define CMK_THREADS_ARE_WIN32_FIBERS                       0
+#define CMK_THREADS_REQUIRE_NO_CPV                         1
+#define CMK_THREADS_COPY_STACK                             0
+
+#define CMK_TIMER_USE_GETRUSAGE                            1
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_TYPEDEF_INT2 short
+#define CMK_TYPEDEF_INT4 int
+#define CMK_TYPEDEF_INT8 long long
+#define CMK_TYPEDEF_UINT2 unsigned short
+#define CMK_TYPEDEF_UINT4 unsigned int
+#define CMK_TYPEDEF_UINT8 unsigned long long
+#define CMK_TYPEDEF_FLOAT4 float
+#define CMK_TYPEDEF_FLOAT8 double
+
+#define CMK_VECTOR_SEND_USES_COMMON_CODE                    1
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   1
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     0
+
+#define CMK_CONDS_USE_SPECIAL_CODE                         1
+
+#endif
+
diff --git a/src/arch/uth-linux-x86_64/conv-mach.sh b/src/arch/uth-linux-x86_64/conv-mach.sh
new file mode 100644 (file)
index 0000000..3a97f3d
--- /dev/null
@@ -0,0 +1,11 @@
+CMK_CPP_CHARM='/lib/cpp'
+CMK_CPP_C='gcc -E'
+CMK_CXXPP='g++ -x c++ -E'
+CMK_CC='gcc'
+CMK_CXX='g++  -Wno-deprecated'
+CMK_CF77='f77'
+CMK_CF90='f90'
+CMK_RANLIB='ranlib'
+CMK_LIBS='-lckqt'
+CMK_QT='generic64'
+CMK_XIOPTS=''