If fault tolerance flag is set, the assignment of array elements is round robin.
authorEsteban Meneses <emenese2@illinois.edu>
Wed, 24 Jun 2009 16:57:16 +0000 (16:57 +0000)
committerEsteban Meneses <emenese2@illinois.edu>
Wed, 24 Jun 2009 16:57:16 +0000 (16:57 +0000)
src/libs/ck-libs/tcharm/tcharm.C

index 59c55cd8917626aab9cf81dbc03847eece23d067..bbcc720110f98f34c8b860b24d945a5c8000036d 100644 (file)
@@ -735,8 +735,12 @@ static CProxy_TCharm TCHARM_Build_threads(TCharmInitMsg *msg)
   } else if(mapping==NULL){
 #if CMK_BLUEGENE_CHARM
     mapID=CProxy_BlockMap::ckNew();
+#else
+#if __FAULT__
+       mapID=CProxy_RRMap::ckNew();
 #else
     mapID=CkCreatePropMap();
+#endif
 #endif
   }else if(0==strcmp(mapping,"BLOCK_MAP")){
     CkPrintf("USING BLOCK_MAP\n");