* segfault with ./loba cluster1000.xml -N64 -a fairstrategy
+ this is a deadlock occuring when:
+ - a process is in the finalize stage;
+ - all processes but one are blocked on receive;
+ - the process that is still running owns all the remaining load,
+ and sends it all to the finalizing process, and then goes in
+ blocking receive.
+ The finalizing process receives the load, and blocks again,
+ waiting for a close message.
+ All processes are then blocked, and non-one is able to see that
+ there is no more load in the system!
+
* verify bookkeeping version.
* add several metrics
opt::load_ratio_threshold) {
VERB0("No more load to balance in system.");
break;
+ } else {
+ DEBUG1("still %g load to balance, continuing...", total_load_running);
}
}
VERB0("Going to finalize...");
message* msg;
m_host_t from;
+ DEBUG1("%sblocking receive", "\0non-" + !wait);
while (may_receive() && comm.recv(msg, from, wait)) {
switch (msg->get_type()) {
case message::INFO: {