1 /* Copyright (c) 2009-2018. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
7 #include "smpi/sampi.h"
8 #include <simgrid/s4u.hpp>
9 #include <simgrid/plugins/load_balancer.h>
10 #include <simgrid/plugins/load.h>
12 XBT_LOG_NEW_DEFAULT_CATEGORY(sampi_load_balancer_test, "Messages specific for this sampi example");
15 int main(int argc, char* argv[])
17 sg_host_load_plugin_init();
18 smpi_replay_init(&argc, &argv);
19 sg_load_balancer_plugin_init(); // Must be called after smpi_replay_init as this will overwrite some replay actions
21 smpi_replay_main(&argc, &argv);