1 /* Copyright (c) 2012-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.Host;
10 import org.simgrid.msg.MsgException;
13 public static void main(String[] args) throws MsgException {
16 Msg.info("Usage : Storage platform_file ");
17 Msg.info("example : Storage ../platforms/storage/storage.xml ");
21 Msg.createEnvironment(args[0]);
23 Host[] hosts = Host.all();
24 new io.storage.Client(hosts[0],0).start();