1 /* Copyright (c) 2012-2017. 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. */
8 import org.simgrid.msg.Msg;
9 import org.simgrid.msg.Host;
13 throw new IllegalAccessError("Utility class");
16 public static void main(String[] args) {
19 Msg.info("Usage : IO platform_file ");
20 Msg.info("example : IO ../platforms/storage/storage.xml ");
24 Msg.createEnvironment(args[0]);
26 Host[] hosts = Host.all();
28 Msg.info("Number of hosts:" + hosts.length);
29 for (int i = 0; i < hosts.length && i < 4; i++) {
30 new io.file.Node(hosts[i],i).start();