1 /* Copyright (c) 2006-2016. 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. */
9 #include <xbt/sysdep.h>
10 #include <simgrid/s4u.hpp>
12 #include "s4u_launching.h"
14 int main(int argc, char **argv) {
15 simgrid::s4u::Engine *e = new simgrid::s4u::Engine(&argc,argv);
16 e->loadPlatform("../../platforms/two_hosts.xml");
17 e->registerFunction<Worker>("worker");
18 e->registerFunction<Master>("master");
19 e->loadDeployment(argv[1]);