char state;
int sampling; /* inside an SMPI_SAMPLE_ block? */
char* instance_id;
- int nb_wins;
xbt_bar_t finalization_barrier;
} s_smpi_process_data_t;
(*argc)-=2;
data->argc = argc;
data->argv = argv;
- data->nb_wins=0;
// set the process attached to the mailbox
simcall_rdv_set_receiver(data->mailbox_small, proc);
XBT_DEBUG("<%d> New process in the game: %p", index, proc);
*/
void smpi_process_finalize(void)
{
+ // This leads to an explosion of the search graph
+ // which cannot be reduced:
+ if(MC_is_active())
+ return;
+
int index = smpi_process_index();
// wait for all pending asynchronous comms to finish
xbt_barrier_wait(process_data[index_to_process_data[index]]->finalization_barrier);
-
}
/**
return process_data->data;
}
-
-int smpi_process_get_win_id()
-{
- smpi_process_data_t process_data = smpi_process_data();
- return process_data->nb_wins;
-}
-
-void smpi_process_set_win_id(int id)
-{
- smpi_process_data_t process_data = smpi_process_data();
- process_data->nb_wins = id;
-}
-
-
int smpi_process_count(void)
{
return process_count;
XBT_INFO("You did not set the power of the host running the simulation. "
"The timings will certainly not be accurate. "
"Use the option \"--cfg=smpi/running_power:<flops>\" to set its value."
- "Check http://simgrid.org/simgrid/latest/doc/options.html#options_smpi_bench for more information. ");
+ "Check http://simgrid.org/simgrid/latest/doc/options.html#options_smpi_bench for more information.");
}
}