#include <iostream>
#include <stdexcept>
#include <unistd.h>
-#include <msg/msg.h>
+#include <simgrid/msg.h>
#include <xbt/log.h>
// Creates log categories
"Compiled on " << version::date << "\n\n";
if (!parse_res || opt::help_requested)
opt::usage();
- MSG_clean();
exit(parse_res ? EXIT_NO_FAILURE : EXIT_FAILURE_ARGS);
}
XBT_INFO("%s v%s (%s)", opt::program_name.c_str(), version::num.c_str(),
// Clean the MSG simulation.
hostdata::destroy();
- res = MSG_clean();
- if (res != MSG_OK) {
- XBT_ERROR("MSG_clean() failed with status %#x", res);
- exit_status |= EXIT_FAILURE_CLEAN;
- }
// Report final simulation status.
if (simulated_time >= 0.0) {