XBT_DEBUG("<%d> New process in the game: %p", index, proc);
}
+ if (smpi_process_data() == NULL)
+ xbt_die("smpi_process_data() returned NULL. You probably gave a NULL parameter to MPI_Init. Although it's required by MPI-2, this is currently not supported by SMPI.");
}
void smpi_process_destroy(void)
}
void smpi_process_destroy(void)
@@ -419,7+421,6 @@ int __attribute__ ((weak)) smpi_simulated_main_(int argc, char **argv)
{
smpi_process_init(&argc, &argv);
user_main_();
{
smpi_process_init(&argc, &argv);
user_main_();
- //xbt_die("Should not be in this smpi_simulated_main");