Adding an empty migration constructor and pup routine for the control point framework...
authorIsaac Dooley <isaacdooley@hope.cs.uiuc.edu>
Mon, 8 Feb 2010 15:27:24 +0000 (09:27 -0600)
committerIsaac Dooley <isaacdooley@hope.cs.uiuc.edu>
Mon, 8 Feb 2010 15:27:24 +0000 (09:27 -0600)
src/ck-cp/controlPoints.ci
src/ck-cp/controlPoints.h

index 705e990f20ffa22d66047422aeb0a8f98bc392fd..5107329833b6ee090c8f5a69ac3d5107a57499cf 100644 (file)
@@ -27,7 +27,7 @@ module ControlPoints {
 
  initnode void controlPointInitNode();
 
- group controlPointManager {
+ group  [migratable]  controlPointManager {
     entry controlPointManager();
 
     entry void requestMemoryUsage(CkCallback cb);
index d11f8c860c4ddce420d8976c13c00f066e9db553..ce51c93e485cab899f5bfccbfd0a4452c3c4e8dc 100644 (file)
@@ -616,6 +616,20 @@ public:
   ~controlPointManager();
 
 
+
+  virtual void pup(PUP::er &p)
+  {
+    CBase_controlPointManager::pup(p);
+    if(p.isUnpacking()){
+      CkAbort("Group controlPointManager is not yet capable of migration.\n");
+    }
+  }
+
+  controlPointManager(CkMigrateMessage* m) {
+    // TODO: Implement this
+  }
+
+
   /// Loads the previous run data file
   void loadDataFile();