Set to round robin the default assignment of array elements to processors when __FAUL...
authorEsteban Meneses <emenese2@illinois.edu>
Tue, 23 Jun 2009 20:48:33 +0000 (20:48 +0000)
committerEsteban Meneses <emenese2@illinois.edu>
Tue, 23 Jun 2009 20:48:33 +0000 (20:48 +0000)
src/ck-core/cklocation.C

index bd69a268d06cb710e19b3292664dbdb468718a0c..029bfbdf01435b832f6eb4e88f0ed676430c1a71 100644 (file)
@@ -720,7 +720,11 @@ class CkMapsInit : public Chare
 {
 public:
   CkMapsInit(CkArgMsg *msg) {
+#ifdef __FAULT__
+    _defaultArrayMapID = CProxy_RRMap::ckNew();
+#else
     _defaultArrayMapID = CProxy_DefaultArrayMap::ckNew();
+#endif
     delete msg;
   }
   CkMapsInit(CkMigrateMessage *m) {}