/* in the highest group composed of individual processors */
if(my_load > threshold) {
do a local partition in a group;
}
grouplevel = highest level;
while(grouplevel > 0){
if(group_load > group_threshold) {
do a partition among children groups at grouplevel;
broadcast new composite list through parent group;
}
grouplevel --;
}
begin computation; ...
|