Minor fix for message logging
authorEsteban Meneses <emenese2@illinois.edu>
Mon, 6 Jul 2009 16:45:44 +0000 (16:45 +0000)
committerEsteban Meneses <emenese2@illinois.edu>
Mon, 6 Jul 2009 16:45:44 +0000 (16:45 +0000)
src/arch/net/charmrun/charmrun.c

index 2d5fe97a3ada7a5fb979cc9fab8150d75f24b63f..32f212cba4055d96993b8d352ebc3c7c4609c2af 100644 (file)
@@ -1031,6 +1031,12 @@ void nodetab_init_for_local()
   int tablesize, i, done=0;
   nodetab_host group;
 
+#ifdef _FAULT_MLOG_
+    if(arg_read_pes == 0){
+        arg_read_pes = arg_requested_pes;
+    }
+#endif
+
   tablesize = arg_requested_pes;
   nodetab_table=(nodetab_host**)malloc(tablesize*sizeof(nodetab_host*));
   nodetab_rank0_table=(int*)malloc(tablesize*sizeof(int));