1 /* Copyright (c) 2006-2014. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
8 import org.simgrid.msg.Msg;
9 import org.simgrid.msg.NativeException;
11 public class StartKillTime {
13 /* This only contains the launcher. If you do nothing more than than you can run
14 * java org.simgrid.msg.Msg
15 * which also contains such a launcher
18 public static void main(String[] args) throws NativeException {
19 /* initialize the MSG simulation. Must be done before anything else (even logging). */
22 Msg.info("Usage : StartKilltime platform_file deployment_file");
23 Msg.info("example : StartKilltime platform.xml startKilltime.xml");
27 /* construct the platform and deploy the application */
28 Msg.createEnvironment(args[0]);
29 Msg.deployApplication(args[1]);
31 /* execute the simulation. */