Fixed a bug in conv-host that was preventing reuse of hosts.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Thu, 16 Jan 1997 22:36:07 +0000 (22:36 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Thu, 16 Jan 1997 22:36:07 +0000 (22:36 +0000)
src/arch/net/conv-host.c

index 748e61ded1c3ac0a7759990e023b3d62c21d23d0..d96cb42b5153415451f446fa403cfe28071a4979 100644 (file)
@@ -1493,6 +1493,8 @@ void nodetab_init()
   }
   while ((nodetab_size < arg_requested_pes)&&(arg_requested_pes!=MAX_NODES)) {
     nodetab_table[nodetab_size] = nodetab_table[nodetab_size-basicsize];
+    if(nodetab_table[nodetab_size]->rank == 0)
+      nodetab_rank0_table[nodetab_rank0_size++] = nodetab_size;
     nodetab_size++;
   }
   fclose(f);