//message("Rank: %d Particle %lld found new group with root: %d, previous group: %d, i=%d, j=%d, k=%d", engine_rank, gp->id_or_neg_offset, fof_recv[i].root_i, local_root, i,j,k);
message("Rank: %d Particle %lld found new group with root: %d, previous group: %d",engine_rank,s->gparts[local_root].id_or_neg_offset,fof_recv[i].root_i,local_root);
link_count++;
link_count++;
message("Rank: %d New group: %d",engine_rank,fof_find(local_root,s->fof_data.group_index));
}
}
...
@@ -1108,6 +1109,15 @@ void fof_search_foreign_cells(struct space *s) {
...
@@ -1108,6 +1109,15 @@ void fof_search_foreign_cells(struct space *s) {
}
}
}
}
}
}
else{
message("Root on other node needs updating. Foreign root: %d, local root: %d",fof_recv[i].root_i,local_root);