It changes the execution order, thus the tesh revalidation, but that's OK
> 5 7 2 smpi_replay_run_init "0 1 0"
> 6 0.000000 2 1 0 "rank-2"
> 6 0.000000 3 1 0 "rank-3"
+> 5 8 2 action_bcast "0 0.78 0.39"
> 12 0.000000 2 1 7
> 13 0.000000 2 1
> 12 0.000000 2 2 7
> 13 0.000000 2 2
> 12 0.000000 2 3 7
> 13 0.000000 2 3
-> 5 8 2 action_bcast "0 0.78 0.39"
> 12 0.000000 2 1 8
> 12 0.000000 2 2 8
> 12 0.000000 2 3 8
XBT_VERB("Delayed start for instance - Sleeping for %f flops ",value );
smpi_execute_flops(value);
} else {
- //UGLY: force a context switch to be sure that all MSG_processes begin initialization
- XBT_DEBUG("Force context switch by smpi_execute_flops - Sleeping for 0.0 flops ");
- smpi_execute_flops(0.0);
+ // Wait for the other actors to initialize also
+ simgrid::s4u::this_actor::yield();
}
}