int size = SIMIX_host_get_number();
- smpi_global = xbt_new(s_smpi_global_t, 1);
+ /* Connect our log channels: that must be done manually under windows */
+#ifdef XBT_LOG_CONNECT
+ XBT_LOG_CONNECT(smpi_base, smpi);
+ XBT_LOG_CONNECT(smpi_bench, smpi);
+ XBT_LOG_CONNECT(smpi_kernel, smpi);
+ XBT_LOG_CONNECT(smpi_mpi, smpi);
+ XBT_LOG_CONNECT(smpi_receiver, smpi);
+ XBT_LOG_CONNECT(smpi_sender, smpi);
+ XBT_LOG_CONNECT(smpi_util, smpi);
+#endif
+ smpi_global = xbt_new(s_smpi_global_t, 1);
// config variable
smpi_global->reference_speed = SMPI_DEFAULT_SPEED;
/* Clean IO before the run */
fflush(stdout);
fflush(stderr);
+ SIMIX_init();
while (SIMIX_solve(actions_done, actions_failed) != -1.0) {
while ((action = xbt_fifo_pop(actions_failed))) {