set dependence of location mgr to ckmap group.
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 14 Feb 2011 21:56:45 +0000 (15:56 -0600)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 14 Feb 2011 21:56:45 +0000 (15:56 -0600)
src/ck-core/ckarray.C

index b14a9ec8037130bf84959105613501ff72d30300..1f5f6bfa9c59c9eec39bec4b42ec189f7fc74ec6 100644 (file)
@@ -518,7 +518,9 @@ CkArrayID CProxy_ArrayBase::ckCreateArray(CkArrayMessage *m,int ctor,
 #if !CMK_LBDB_ON
     CkGroupID _lbdb;
 #endif
-    locMgr = CProxy_CkLocMgr::ckNew(opts.getMap(),_lbdb,opts.getNumInitial());
+    CkEntryOptions  e_opts;
+    e_opts.setGroupDepID(opts.getMap());       // group creation dependence
+    locMgr = CProxy_CkLocMgr::ckNew(opts.getMap(),_lbdb,opts.getNumInitial(),&e_opts);
     opts.setLocationManager(locMgr);
   }
   //Create the array manager