2 * Copyright 2006-2012. The SimGrid Team. 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 package master_slave_kill;
10 import org.simgrid.msg.Msg;
11 import org.simgrid.msg.MsgException;
12 import org.simgrid.msg.NativeException;
14 object MsKill extends App{
16 /* This only contains the launcher. If you do nothing more than than you can run
17 * scala simgrid.msg.Msg
18 * which also contains such a launcher
22 /* initialize the MSG simulation. Must be done before anything else (even logging). */
24 Msg.createEnvironment(args(0))
26 /* bypass deploymemt */
28 val process1 = new Master("bob","master")
32 case e:MsgException => println("Create processes failed!")
35 /* execute the simulation. */