/** * Author: Anthony Sulistio * Date: April 2003 * $Id: README.txt,v 1.6 2004/05/06 02:42:35 anthony Exp $ */ Welcome to the 1st Example of how to use GridSim package. To compile the example source code: In Unix/Linux: javac -classpath $GRIDSIM/jars/gridsim.jar:. Example1.java In Windows: javac -classpath %GRIDSIM%\jars\gridsim.jar;. Example1.java where $GRIDSIM or %GRIDSIM% is the location of the gridsimtoolkit package. To run the class file: In Unix/Linux: java -classpath $GRIDSIM/jars/gridsim.jar:. Example1 In Windows: java -classpath %GRIDSIM%\jars\gridsim.jar;. Example1 When running the example file, it will produce the following files: stat.txt -> created by GridSim 2.1, now being replaced by GridSim_stat.txt GridSim_stat.txt -> created by the GridSim verson 2.2 onwards during GridSim.init() to create GridStatistics object for statistical purposes. Since this example only shows how to create one Grid resource, therefore, this file is empty. We don't simulate anything yet. tracefile -> created by SimJava 1.2, now being replaced by sim_trace file sim_trace -> created by the SimJava2 package (lower-level) to trace every events (performed by SimJava and GridSim) during the simulation. We don't need to worry about this file. Not to important for our example. Inside this file is empty since we don't simulate anything yet.