config files for inmem checkpointing
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 15 Feb 2012 15:32:10 +0000 (07:32 -0800)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 15 Feb 2012 15:32:10 +0000 (07:32 -0800)
src/arch/gemini_gni/conv-mach-syncft.h [new file with mode: 0644]
src/arch/gemini_gni/conv-mach-syncft.sh [new file with mode: 0644]

diff --git a/src/arch/gemini_gni/conv-mach-syncft.h b/src/arch/gemini_gni/conv-mach-syncft.h
new file mode 100644 (file)
index 0000000..5cb052b
--- /dev/null
@@ -0,0 +1,15 @@
+
+#undef CMK_MSG_HEADER_EXT_
+//#undef CMK_MSG_HEADER_EXT
+//#undef CMK_MSG_HEADER_BIGSIM_
+/* expand the header to store the restart phase counter(pn) */
+#define CMK_MSG_HEADER_EXT_    CmiUInt4 size; CmiUInt4 seq; CmiUInt2 rank,hdl,xhdl,info,stratid,redID,pn,d9; CmiInt4 root; 
+//#define CMK_MSG_HEADER_EXT    { CMK_MSG_HEADER_EXT_ }
+//#define CMK_MSG_HEADER_BIGSIM_    { CmiUInt2 d0,d1,d2,d3,d4,d5,hdl,xhdl,pn,info; int nd, n; double rt; CmiInt2 tID; CmiUInt2 hID; char t; int msgID; int srcPe;}
+//#define CMK_MSG_HEADER_BIGSIM_  { CMK_MSG_HEADER_EXT_ CMK_BIGSIM_FIELDS }
+
+#define CmiGetRestartPhase(m)       ((((CmiMsgHeaderExt*)m)->pn))
+
+#define __FAULT__                                         1
+
+#define CMK_MEM_CHECKPOINT                                1
diff --git a/src/arch/gemini_gni/conv-mach-syncft.sh b/src/arch/gemini_gni/conv-mach-syncft.sh
new file mode 100644 (file)
index 0000000..e69de29