dot = SD_dotload(argv[2]);
if(dot == NULL){
XBT_CRITICAL("No dot loaded. Do you have a cycle in your graph?");
- SD_exit();
exit(2);
}
xbt_free(hosts);
XBT_INFO("------------------- Run the schedule ---------------------------");
- xbt_dynar_t changed_tasks = SD_simulate(-1);
- xbt_dynar_free(&changed_tasks);
+ SD_simulate(-1);
XBT_INFO("------------------- Produce the trace file---------------------------");
XBT_INFO("Producing the trace of the run into %s", basename(tracefilename));
fclose(out);
/* exit */
- SD_exit();
return 0;
}