smpi_process_data_t smpi_process_data(void)
{
- return SIMIX_process_self_get_data();
+ return SIMIX_process_self_get_data(SIMIX_process_self());
}
smpi_process_data_t smpi_process_remote_data(int index)
xbt_cfgelm_double, &default_threshold, 1, 1, NULL,
NULL);
+ if(getenv("SMPI_PRETEND_CC") != NULL) {
+ /* Hack to ensure that smpicc can pretend to be a simple compiler. Particularly handy to pass it to the configuration tools */
+ return 0;
+ }
+
#ifdef HAVE_TRACING
TRACE_global_init(&xargc, xargv);
#endif
SIMIX_run();
if (xbt_cfg_get_int(_surf_cfg_set, "smpi/display_timing"))
- XBT_INFO("simulation time %g", SIMIX_get_clock());
+ XBT_INFO("Simulation time: %g seconds.", SIMIX_get_clock());
smpi_global_destroy();