From: mquinson Date: Thu, 2 Dec 2010 23:57:45 +0000 (+0000) Subject: at some point, I commited a lot of cruft. Sorry X-Git-Tag: v3_9_90~569^2~19^2~219 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/32fe0c0e02970be8e667eb55189f486c596dcb0a at some point, I commited a lot of cruft. Sorry git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java@8964 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/basic/.project b/examples/basic/.project deleted file mode 100644 index 174192eab9..0000000000 --- a/examples/basic/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - java_MasterSlaves - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/examples/basic/BasicTest.java b/examples/basic/BasicTest.java deleted file mode 100644 index e6c6a8f672..0000000000 --- a/examples/basic/BasicTest.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class BasicTest { - - /* This only contains the launcher. If you do nothing more than than you can run - * java simgrid.msg.Msg - * which also contains such a launcher - */ - - public static void main(String[] args) throws NativeException { - - /* initialize the MSG simulation. Must be done before anything else (even logging). */ - Msg.init(args); - - if(args.length == 0) { - Msg.createEnvironment("basic_platform.xml"); - Msg.deployApplication("basic_deployment.xml"); - - } else if (args.length < 2) { - - - Msg.info("Usage : Basic platform_file deployment_file"); - Msg.info("example : Basic basic_platform.xml basic_deployment.xml"); - System.exit(1); - } else { - - /* construct the platform and deploy the application */ - Msg.createEnvironment(args[0]); - Msg.deployApplication(args[1]); - } - - /* execute the simulation. */ - Msg.run(); - } -} diff --git a/examples/basic/FinalizeTask.java b/examples/basic/FinalizeTask.java deleted file mode 100644 index 3764382617..0000000000 --- a/examples/basic/FinalizeTask.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class FinalizeTask extends Task { - public FinalizeTask() { - super("finalize",0,0); - } -} - \ No newline at end of file diff --git a/examples/basic/Forwarder.java b/examples/basic/Forwarder.java deleted file mode 100644 index 741133f7c9..0000000000 --- a/examples/basic/Forwarder.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class Forwarder extends simgrid.msg.Process { - - public void main(String[] args) throws MsgException { - if (args.length < 3) { - Msg.info("Forwarder needs 3 arguments (input mailbox, first output mailbox, last one)"); - Msg.info("Got "+args.length+" instead"); - System.exit(1); - } - int input = Integer.valueOf(args[0]).intValue(); - int firstOutput = Integer.valueOf(args[1]).intValue(); - int lastOutput = Integer.valueOf(args[2]).intValue(); - - int taskCount = 0; - int slavesCount = lastOutput - firstOutput + 1; - Msg.info("Receiving on 'slave_"+input+"'"); - while(true) { - Task task = Task.receive("slave_"+input); - - if (task instanceof FinalizeTask) { - Msg.info("Got a finalize task. Let's forward that we're done."); - - for (int cpt = firstOutput; cpt<=lastOutput; cpt++) { - Task tf = new FinalizeTask(); - tf.send("slave_"+cpt); - } - break; - } - int dest = firstOutput + (taskCount % slavesCount); - - Msg.info("Sending \"" + task.getName() + "\" to \"slave_" + dest + "\""); - task.send("slave_"+dest); - - taskCount++; - } - - - Msg.info("I'm done. See you!"); - } -} - diff --git a/examples/basic/Master.java b/examples/basic/Master.java deleted file mode 100644 index 021220c85f..0000000000 --- a/examples/basic/Master.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Master of a basic master/slave example in Java - * - * Copyright 2006,2007,2010 The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class Master extends simgrid.msg.Process { - public void main(String[] args) throws MsgException { - if (args.length < 4) { - Msg.info("Master needs 4 arguments"); - System.exit(1); - } - - int tasksCount = Integer.valueOf(args[0]).intValue(); - double taskComputeSize = Double.valueOf(args[1]).doubleValue(); - double taskCommunicateSize = Double.valueOf(args[2]).doubleValue(); - - int slavesCount = Integer.valueOf(args[3]).intValue(); - - Msg.info("Hello! Got "+ slavesCount + " slaves and "+tasksCount+" tasks to process"); - - for (int i = 0; i < tasksCount; i++) { - Task task = new Task("Task_" + i, taskComputeSize, taskCommunicateSize); - //Msg.info("Sending \"" + task.getName()+ "\" to \"slave_" + i % slavesCount + "\""); - task.send("slave_"+(i%slavesCount)); - } - - Msg.info("All tasks have been dispatched. Let's tell everybody the computation is over."); - - for (int i = 0; i < slavesCount; i++) { - FinalizeTask task = new FinalizeTask(); - task.send("slave_"+(i%slavesCount)); - } - - Msg.info("Goodbye now!"); - } -} diff --git a/examples/basic/README b/examples/basic/README deleted file mode 100644 index 9207911abc..0000000000 --- a/examples/basic/README +++ /dev/null @@ -1,11 +0,0 @@ -This is a somehow basic master/slaves example. - -There is 3 kind of processes: - * Master: creates some tasks, and dispatches them to its slaves - * Forwarder: get tasks from master, and dispatch them further - * Slave: get tasks from either master or forwarder, and run them - -At the end of the execution: - - the master sends FinalizeTask to every known slave to stop them - - On reception of FT, forwarders send FT to every slave, and stop. - - On reception of FinalizeTask, slaves stop. \ No newline at end of file diff --git a/examples/basic/Slave.java b/examples/basic/Slave.java deleted file mode 100644 index d55ae0a224..0000000000 --- a/examples/basic/Slave.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.HostFailureException; -import simgrid.msg.Msg; -import simgrid.msg.Task; -import simgrid.msg.TaskCancelledException; -import simgrid.msg.TimeoutException; -import simgrid.msg.TransferFailureException; - -public class Slave extends simgrid.msg.Process { - public void main(String[] args) throws TransferFailureException, HostFailureException, TimeoutException { - if (args.length < 1) { - Msg.info("Slave needs 1 argument (its number)"); - System.exit(1); - } - - int num = Integer.valueOf(args[0]).intValue(); - //Msg.info("Receiving on 'slave_"+num+"'"); - - while(true) { - Task task = Task.receive("slave_"+num); - - if (task instanceof FinalizeTask) { - break; - } - Msg.info("Received \"" + task.getName() + "\". Processing it."); - try { - task.execute(); - } catch (TaskCancelledException e) { - - } - // Msg.info("\"" + task.getName() + "\" done "); - } - - //Msg.info("Received Finalize. I'm done. See you!"); - } -} \ No newline at end of file diff --git a/examples/basic/basic.tesh b/examples/basic/basic.tesh deleted file mode 100644 index 8bbea2bb62..0000000000 --- a/examples/basic/basic.tesh +++ /dev/null @@ -1,75 +0,0 @@ -# compile the example -$ javac -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR. *.java - -# run the basic sample -$ java -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR BasicTest basic_platform.xml basic_deployment.xml -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] hello! -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argc=8 -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:5 -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:50000 -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:10 -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:iRMX -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:Casavant -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:Bousquet -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:Soucy -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] argv:Jackson -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Got 5 slave(s) : -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] iRMX -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Casavant -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Bousquet -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Soucy -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Jackson -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Got 5 task to process. -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Sending "Task_0" to "iRMX" -> [Jackson:Forwarder:(2) 0.000000] [jmsg/INFO] hello! -> [Casavant:Forwarder:(3) 0.000000] [jmsg/INFO] hello! -> [iRMX:Slave:(4) 0.000000] [jmsg/INFO] Hello ! -> [Bousquet:Slave:(5) 0.000000] [jmsg/INFO] Hello ! -> [Soucy:Slave:(6) 0.000000] [jmsg/INFO] Hello ! -> [Kuenning:Slave:(7) 0.000000] [jmsg/INFO] Hello ! -> [Browne:Slave:(8) 0.000000] [jmsg/INFO] Hello ! -> [Stephen:Slave:(9) 0.000000] [jmsg/INFO] Hello ! -> [Robert:Slave:(10) 0.000000] [jmsg/INFO] Hello ! -> [Sirois:Slave:(11) 0.000000] [jmsg/INFO] Hello ! -> [Monique:Slave:(12) 0.000000] [jmsg/INFO] Hello ! -> [Jacquelin:Master:(1) 0.234181] [jmsg/INFO] Sending "Task_1" to "Casavant" -> [iRMX:Slave:(4) 0.234181] [jmsg/INFO] Received "Task_0" -> [iRMX:Slave:(4) 0.234181] [jmsg/INFO] Processing "Task_0" -> [iRMX:Slave:(4) 0.234910] [jmsg/INFO] "Task_0" done -> [Jacquelin:Master:(1) 0.338591] [jmsg/INFO] Sending "Task_2" to "Bousquet" -> [Casavant:Forwarder:(3) 0.338591] [jmsg/INFO] Received "Task_1" -> [Casavant:Forwarder:(3) 0.338591] [jmsg/INFO] Sending "Task_1" to "Robert" -> [Jacquelin:Master:(1) 0.416661] [jmsg/INFO] Sending "Task_3" to "Soucy" -> [Bousquet:Slave:(5) 0.416661] [jmsg/INFO] Received "Task_2" -> [Bousquet:Slave:(5) 0.416661] [jmsg/INFO] Processing "Task_2" -> [Bousquet:Slave:(5) 0.417826] [jmsg/INFO] "Task_2" done -> [Robert:Slave:(10) 0.454402] [jmsg/INFO] Received "Task_1" -> [Robert:Slave:(10) 0.454402] [jmsg/INFO] Processing "Task_1" -> [Robert:Slave:(10) 0.454766] [jmsg/INFO] "Task_1" done -> [Jacquelin:Master:(1) 0.527739] [jmsg/INFO] Sending "Task_4" to "Jackson" -> [Soucy:Slave:(6) 0.527739] [jmsg/INFO] Received "Task_3" -> [Soucy:Slave:(6) 0.527739] [jmsg/INFO] Processing "Task_3" -> [Soucy:Slave:(6) 0.528103] [jmsg/INFO] "Task_3" done -> [Jacquelin:Master:(1) 0.593252] [jmsg/INFO] Send completed -> [Jacquelin:Master:(1) 0.593252] [jmsg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. -> [Jackson:Forwarder:(2) 0.593252] [jmsg/INFO] Received "Task_4" -> [Jackson:Forwarder:(2) 0.593252] [jmsg/INFO] Sending "Task_4" to "Kuenning" -> [Kuenning:Slave:(7) 0.593708] [jmsg/INFO] Received "Task_4" -> [Kuenning:Slave:(7) 0.593708] [jmsg/INFO] Processing "Task_4" -> [Kuenning:Slave:(7) 0.594291] [jmsg/INFO] "Task_4" done -> [iRMX:Slave:(4) 0.827199] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Casavant:Forwarder:(3) 0.931504] [jmsg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. -> [Bousquet:Slave:(5) 1.009496] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Robert:Slave:(10) 1.047200] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Sirois:Slave:(11) 1.086548] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Soucy:Slave:(6) 1.120464] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Casavant:Forwarder:(3) 1.154764] [jmsg/INFO] I'm done. See you! -> [Monique:Slave:(12) 1.154764] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 1.185911] [jmsg/INFO] Goodbye now! -> [Jackson:Forwarder:(2) 1.185911] [jmsg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. -> [Kuenning:Slave:(7) 1.186360] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Browne:Slave:(8) 1.325058] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jackson:Forwarder:(2) 1.532781] [jmsg/INFO] I'm done. See you! -> [Stephen:Slave:(9) 1.532781] [jmsg/INFO] Received Finalize. I'm done. See you! - - diff --git a/examples/basic/basic_deployment.xml b/examples/basic/basic_deployment.xml deleted file mode 100644 index b6195d1c6e..0000000000 --- a/examples/basic/basic_deployment.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/basic/deploy.xml b/examples/basic/deploy.xml deleted file mode 100644 index e2d3632fb0..0000000000 --- a/examples/basic/deploy.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/examples/commTime/CommTimeTest.java b/examples/commTime/CommTimeTest.java deleted file mode 100644 index ef31c0baa2..0000000000 --- a/examples/commTime/CommTimeTest.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright 2006,2007,2010 The SimGrid Team. All right reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - - -import simgrid.msg.*; - -public class CommTimeTest { - - /* This only contains the launcher. If you do nothing more than than you can run - * java simgrid.msg.Msg - * which also contains such a launcher - */ - - public static void main(String[] args) throws NativeException { - - /* initialize the MSG simulation. Must be done before anything else (even logging). */ - Msg.init(args); - - if(args.length < 2) { - Msg.info("Usage : CommTime platform_file deployment_file"); - Msg.info("example : CommTime comm_time_platform.xml comm_time_deployment.xml"); - System.exit(1); - } - - /* construct the platform and deploy the application */ - Msg.createEnvironment(args[0]); - Msg.deployApplication(args[1]); - - /* execute the simulation. */ - Msg.run(); - } -} diff --git a/examples/commTime/FinalizeTask.java b/examples/commTime/FinalizeTask.java deleted file mode 100644 index b7878fd75f..0000000000 --- a/examples/commTime/FinalizeTask.java +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class FinalizeTask extends Task { - public FinalizeTask() { - super("",0,0); - } -} - \ No newline at end of file diff --git a/examples/commTime/Master.java b/examples/commTime/Master.java deleted file mode 100644 index c2bbc5ce8b..0000000000 --- a/examples/commTime/Master.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Master of a basic master/slave example in Java - * - * Copyright 2006,2007,2010 The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class Master extends simgrid.msg.Process { - public void main(String[] args) throws MsgException { - if (args.length < 4) { - Msg.info("Master needs 4 arguments"); - System.exit(1); - } - - int tasksCount = Integer.valueOf(args[0]).intValue(); - double taskComputeSize = Double.valueOf(args[1]).doubleValue(); - double taskCommunicateSize = Double.valueOf(args[2]).doubleValue(); - - int slavesCount = Integer.valueOf(args[3]).intValue(); - - Msg.info("Hello! Got "+ slavesCount + " slaves and "+tasksCount+" tasks to process"); - - for (int i = 0; i < tasksCount; i++) { - Task task = new Task("Task_" + i, taskComputeSize, taskCommunicateSize); - if (i%1000==0) - Msg.info("Sending \"" + task.getName()+ "\" to \"slave_" + i % slavesCount + "\""); - task.send("slave_"+(i%slavesCount)); - } - - Msg.info("All tasks have been dispatched. Let's tell everybody the computation is over."); - - for (int i = 0; i < slavesCount; i++) { - FinalizeTask task = new FinalizeTask(); - task.send("slave_"+(i%slavesCount)); - } - - Msg.info("Goodbye now!"); - } -} diff --git a/examples/commTime/README b/examples/commTime/README deleted file mode 100644 index 6512acd7fe..0000000000 --- a/examples/commTime/README +++ /dev/null @@ -1,5 +0,0 @@ -This directory is almost exactly the same example than the -master/slave, the only differences are: - * there is no forwarder here - * the outputs are a bit less verbose - * the example give a lot more work to do (this is used for benchmarking) \ No newline at end of file diff --git a/examples/commTime/Slave.java b/examples/commTime/Slave.java deleted file mode 100644 index 539fd34f59..0000000000 --- a/examples/commTime/Slave.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class Slave extends simgrid.msg.Process { - public void main(String[] args) throws MsgException { - if (args.length < 1) { - Msg.info("Slave needs 1 argument (its number)"); - System.exit(1); - } - - int num = Integer.valueOf(args[0]).intValue(); - Msg.info("Receiving on 'slave_"+num+"'"); - - while(true) { - Task task = Task.receive("slave_"+num); - - if (task instanceof FinalizeTask) { - break; - } - task.execute(); - } - - Msg.info("Received Finalize. I'm done. See you!"); - } -} \ No newline at end of file diff --git a/examples/commTime/comm_time.tesh b/examples/commTime/comm_time.tesh deleted file mode 100644 index 36be196da1..0000000000 --- a/examples/commTime/comm_time.tesh +++ /dev/null @@ -1,90 +0,0 @@ -# compile the example -$ javac -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR. *.java - -# run the comm_time sample -$ java -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR CommTimeTest comm_time_platform.xml comm_time_deployment.xml -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Hello i'm the master -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Got 20 slave(s): -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] iRMX -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Bousquet -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Soucy -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Casavant -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Jackson -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Geoff -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Disney -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] McGee -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Gatien -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Laroche -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Tanguay -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Morin -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Ethernet -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Bellemarre -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Harry -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Olivier -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Boucherville -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Pointe_Claire -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Kansas -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] King -> [Jacquelin:Master:(1) 0.000000] [jmsg/INFO] Got 50000 task(s) to process. -> [iRMX:Slave:(2) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Bousquet:Slave:(3) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Soucy:Slave:(4) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Casavant:Slave:(5) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Jackson:Slave:(6) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Geoff:Slave:(7) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Disney:Slave:(8) 0.000000] [jmsg/INFO] Hello i'm a slave -> [McGee:Slave:(9) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Gatien:Slave:(10) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Laroche:Slave:(11) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Tanguay:Slave:(12) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Morin:Slave:(13) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Ethernet:Slave:(14) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Bellemarre:Slave:(15) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Harry:Slave:(16) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Olivier:Slave:(17) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Boucherville:Slave:(18) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Pointe_Claire:Slave:(19) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Kansas:Slave:(20) 0.000000] [jmsg/INFO] Hello i'm a slave -> [King:Slave:(21) 0.000000] [jmsg/INFO] Hello i'm a slave -> [Jacquelin:Master:(1) 5385.510565] [jmsg/INFO] All tasks have been dispatched. Let's tell everybody the computation is over. -> [Jacquelin:Master:(1) 5385.510565] [jmsg/INFO] Finalize host iRMX [0] -> [Jacquelin:Master:(1) 5385.744512] [jmsg/INFO] Finalize host Bousquet [1] -> [iRMX:Slave:(2) 5385.744512] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5385.822504] [jmsg/INFO] Finalize host Soucy [2] -> [Bousquet:Slave:(3) 5385.822504] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5385.933472] [jmsg/INFO] Finalize host Casavant [3] -> [Soucy:Slave:(4) 5385.933472] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.037777] [jmsg/INFO] Finalize host Jackson [4] -> [Casavant:Slave:(5) 5386.037777] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.103224] [jmsg/INFO] Finalize host Geoff [5] -> [Jackson:Slave:(6) 5386.103224] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.103634] [jmsg/INFO] Finalize host Disney [6] -> [Geoff:Slave:(7) 5386.103634] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.243798] [jmsg/INFO] Finalize host McGee [7] -> [Disney:Slave:(8) 5386.243798] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.312081] [jmsg/INFO] Finalize host Gatien [8] -> [McGee:Slave:(9) 5386.312081] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.410039] [jmsg/INFO] Finalize host Laroche [9] -> [Gatien:Slave:(10) 5386.410039] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.548443] [jmsg/INFO] Finalize host Tanguay [10] -> [Laroche:Slave:(11) 5386.548443] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.624602] [jmsg/INFO] Finalize host Morin [11] -> [Tanguay:Slave:(12) 5386.624602] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.767895] [jmsg/INFO] Finalize host Ethernet [12] -> [Morin:Slave:(13) 5386.767895] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.849385] [jmsg/INFO] Finalize host Bellemarre [13] -> [Ethernet:Slave:(14) 5386.849385] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5386.988558] [jmsg/INFO] Finalize host Harry [14] -> [Bellemarre:Slave:(15) 5386.988558] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5387.129807] [jmsg/INFO] Finalize host Olivier [15] -> [Harry:Slave:(16) 5387.129807] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5387.240138] [jmsg/INFO] Finalize host Boucherville [16] -> [Olivier:Slave:(17) 5387.240138] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5387.386104] [jmsg/INFO] Finalize host Pointe_Claire [17] -> [Boucherville:Slave:(18) 5387.386104] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5387.528570] [jmsg/INFO] Finalize host Kansas [18] -> [Pointe_Claire:Slave:(19) 5387.528570] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5387.597140] [jmsg/INFO] Finalize host King [19] -> [Kansas:Slave:(20) 5387.597140] [jmsg/INFO] Received Finalize. I'm done. See you! -> [Jacquelin:Master:(1) 5387.662613] [jmsg/INFO] All finalize messages have been dispatched. Goodbye now! -> [King:Slave:(21) 5387.662613] [jmsg/INFO] Received Finalize. I'm done. See you! \ No newline at end of file diff --git a/examples/commTime/comm_time_deployment.xml b/examples/commTime/comm_time_deployment.xml deleted file mode 100644 index 0afeaa124c..0000000000 --- a/examples/commTime/comm_time_deployment.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/java_test.mk b/examples/java_test.mk deleted file mode 100644 index 90a568c6b0..0000000000 --- a/examples/java_test.mk +++ /dev/null @@ -1,26 +0,0 @@ -######################### -# How to compile the code -# All this to only get a dumb javac *java... Automake still have issues with java - -JAVAROOT=. - -AM_JAVACFLAGS=-classpath .:$(top_srcdir)/src/simgrid.jar:../../../src/simgrid.jar:.. - - -########################## -# What to do on make check -# We need to rely on an external script (../runtest) because automake adds a ./ in front of the test name -# We need to override LD_LIBRARY_PATH so that the VM finds the libsimgrid4java.so -# We need to override the CLASSPATH to add simgrid.jar and current dir to the picture -# We also need to express dependencies manually (in each test dir) -# Damn... -if HAVE_JAVA - TESTS_ENVIRONMENT=LD_LIBRARY_PATH="$(top_srcdir)/src/.libs:$$LD_LIBRARY_PATH" \ - CLASSPATH=".:../../../src/simgrid.jar:$(top_srcdir)/src/simgrid.jar:$$CLASSPATH" \ - $(srcdir)/../runtest -else - TESTS_ENVIRONMENT=DO_NOT_HAVE_JAVA=1 $(srcdir)/../runtest -endif - -# declare that we must recompile everything before lauching tests -$(TESTS): classnoinst.stamp diff --git a/examples/mutualExclusion/centralized/.classpath b/examples/mutualExclusion/centralized/.classpath deleted file mode 100644 index 38d109ccb7..0000000000 --- a/examples/mutualExclusion/centralized/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/examples/mutualExclusion/centralized/.project b/examples/mutualExclusion/centralized/.project deleted file mode 100644 index e8ab2edcaf..0000000000 --- a/examples/mutualExclusion/centralized/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - MutexCentral - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - diff --git a/examples/mutualExclusion/centralized/Coordinator.java b/examples/mutualExclusion/centralized/Coordinator.java deleted file mode 100644 index 03da2f63fe..0000000000 --- a/examples/mutualExclusion/centralized/Coordinator.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * $Id$ - * - * Copyright 2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import java.util.LinkedList; - -import simgrid.msg.Msg; -import simgrid.msg.MsgException; -import simgrid.msg.Task; - -public class Coordinator extends simgrid.msg.Process { - - LinkedList waitingQueue=new LinkedList(); - int CsToServe; - - public void main(String[] args) throws MsgException { - CsToServe = Integer.parseInt(args[0]); - Task task; - while (CsToServe >0) { - task = Task.receive("coordinator"); - if (task instanceof RequestTask) { - RequestTask t = (RequestTask) task; - if (waitingQueue.isEmpty()) { - Msg.info("Got a request from "+t.from+". Queue empty: grant it"); - GrantTask tosend = new GrantTask(); - tosend.send(t.from); - } else { - waitingQueue.push(t); - } - } else if (task instanceof ReleaseTask) { - if (!waitingQueue.isEmpty()) { - RequestTask req = waitingQueue.removeLast(); - GrantTask tosend = new GrantTask(); - tosend.send(req.from); - } - CsToServe--; - if (waitingQueue.isEmpty() && CsToServe==0) { - Msg.info("we should shutdown the simulation now"); - } - } - } - } -} \ No newline at end of file diff --git a/examples/mutualExclusion/centralized/GrantTask.java b/examples/mutualExclusion/centralized/GrantTask.java deleted file mode 100644 index f9322d1252..0000000000 --- a/examples/mutualExclusion/centralized/GrantTask.java +++ /dev/null @@ -1,5 +0,0 @@ -import simgrid.msg.Task; - - -public class GrantTask extends Task { -} diff --git a/examples/mutualExclusion/centralized/MutexCentral.java b/examples/mutualExclusion/centralized/MutexCentral.java deleted file mode 100644 index f6a747ac61..0000000000 --- a/examples/mutualExclusion/centralized/MutexCentral.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * $Id$ - * - * Copyright 2006,2007 Martin Quinson, Malek Cherier - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class MutexCentral { - - /* This only contains the launcher. If you do nothing more than than you can run - * java simgrid.msg.Msg - * which also contains such a launcher - */ - - public static void main(String[] args) throws NativeException { - - /* initialize the MSG simulation. Must be done before anything else (even logging). */ - Msg.init(args); - - if(args.length < 2) { - Msg.info("Usage: Basic platform_file deployment_file"); - Msg.info("Fallback to default values"); - Msg.createEnvironment("../ring3.xml"); - Msg.deployApplication("mutex_centralized_deployment.xml"); - } else { - /* construct the platform and deploy the application */ - Msg.createEnvironment(args[0]); - Msg.deployApplication(args[1]); - } - - /* execute the simulation. */ - Msg.run(); - } -} diff --git a/examples/mutualExclusion/centralized/Node.java b/examples/mutualExclusion/centralized/Node.java deleted file mode 100644 index fd2af4c6d3..0000000000 --- a/examples/mutualExclusion/centralized/Node.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * $Id$ - * - * Copyright 2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.MsgException; -import simgrid.msg.Task; -import simgrid.msg.Msg; - -public class Node extends simgrid.msg.Process { - - public void request(double CStime) throws MsgException { - RequestTask req = new RequestTask(this.name); - Msg.info("Send a request to the coordinator"); - req.send("coordinator"); - Msg.info("Wait for a grant from the coordinator"); - Task.receive(this.name); // FIXME: ensure that this is a grant - Task compute = new Task("CS", CStime, 0); - compute.execute(); - ReleaseTask release = new ReleaseTask(); - release.send("coordinator"); - } - - public void main(String[] args) throws MsgException { - request(Double.parseDouble(args[1])); - } -} \ No newline at end of file diff --git a/examples/mutualExclusion/centralized/ReleaseTask.java b/examples/mutualExclusion/centralized/ReleaseTask.java deleted file mode 100644 index 28a259c197..0000000000 --- a/examples/mutualExclusion/centralized/ReleaseTask.java +++ /dev/null @@ -1,2 +0,0 @@ -public class ReleaseTask extends simgrid.msg.Task { -} diff --git a/examples/mutualExclusion/centralized/RequestTask.java b/examples/mutualExclusion/centralized/RequestTask.java deleted file mode 100644 index 484db0680f..0000000000 --- a/examples/mutualExclusion/centralized/RequestTask.java +++ /dev/null @@ -1,9 +0,0 @@ -import simgrid.msg.Task; - -public class RequestTask extends Task { - String from; - public RequestTask(String name) { - super(); - from=name; - } -} diff --git a/examples/mutualExclusion/centralized/mutex_centralized.tesh b/examples/mutualExclusion/centralized/mutex_centralized.tesh deleted file mode 100644 index 5001f23b41..0000000000 --- a/examples/mutualExclusion/centralized/mutex_centralized.tesh +++ /dev/null @@ -1,16 +0,0 @@ -# compile the example -$ javac -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR. *.java - -# run the comm_time sample -$ java -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR PingPongTest ../ring3.xml mutex_centralized_deployment.xml -> [Inmos:Sender:(1) 0.000000] [jmsg/INFO] hello! -> [Inmos:Sender:(1) 0.000000] [jmsg/INFO] host count : 1 -> [Inmos:Sender:(1) 0.000000] [jmsg/INFO] sender time : 0.0 -> [Bellevue:Receiver:(2) 0.000000] [jmsg/INFO] hello! -> [Bellevue:Receiver:(2) 0.000000] [jmsg/INFO] try to get a task -> [Inmos:Sender:(1) 0.001462] [jmsg/INFO] goodbye! -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] Got at time 0.0014616631517 -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] Was sent at time 0.0 -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] Communication time : 0.0014616631517 -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] --- bw 6.841521583389041E10 ---- -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] goodbye! \ No newline at end of file diff --git a/examples/mutualExclusion/centralized/mutex_centralized_deployment.xml b/examples/mutualExclusion/centralized/mutex_centralized_deployment.xml deleted file mode 100644 index b5c7eef413..0000000000 --- a/examples/mutualExclusion/centralized/mutex_centralized_deployment.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/mutualExclusion/ring3.xml b/examples/mutualExclusion/ring3.xml deleted file mode 100644 index 9f418554de..0000000000 --- a/examples/mutualExclusion/ring3.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/pingPong/PingPongTask.java b/examples/pingPong/PingPongTask.java deleted file mode 100644 index 79fa7d2cd7..0000000000 --- a/examples/pingPong/PingPongTask.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class PingPongTask extends Task { - - private double timeVal; - - public PingPongTask() throws NativeException { - this.timeVal = 0; - } - - public PingPongTask(String name, double computeDuration, double messageSize) throws NativeException { - super(name,computeDuration,messageSize); - } - - public void setTime(double timeVal){ - this.timeVal = timeVal; - } - - public double getTime() { - return this.timeVal; - } -} - \ No newline at end of file diff --git a/examples/pingPong/PingPongTest.java b/examples/pingPong/PingPongTest.java deleted file mode 100644 index 48c86b13b0..0000000000 --- a/examples/pingPong/PingPongTest.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * $Id$ - * - * Copyright 2006,2007 Martin Quinson, Malek Cherier - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class PingPongTest { - - /* This only contains the launcher. If you do nothing more than than you can run - * java simgrid.msg.Msg - * which also contains such a launcher - */ - - public static void main(String[] args) throws NativeException { - - /* initialize the MSG simulation. Must be done before anything else (even logging). */ - Msg.init(args); - - if(args.length < 2) { - Msg.info("Usage : PingPong platform_file deployment_file"); - Msg.info("example : PingPong ping_pong_platform.xml ping_pong_deployment.xml"); - System.exit(1); - } - - /* construct the platform and deploy the application */ - Msg.createEnvironment(args[0]); - Msg.deployApplication(args[1]); - - /* execute the simulation. */ - Msg.run(); - } -} diff --git a/examples/pingPong/README b/examples/pingPong/README deleted file mode 100644 index aa16de9c89..0000000000 --- a/examples/pingPong/README +++ /dev/null @@ -1,2 +0,0 @@ -This is a stupid ping/pong example. The processes exchange a simple -task and time them. \ No newline at end of file diff --git a/examples/pingPong/Receiver.java b/examples/pingPong/Receiver.java deleted file mode 100644 index 9603a76a82..0000000000 --- a/examples/pingPong/Receiver.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * $Id$ - * - * Copyright 2006,2007 Martin Quinson, Malek Cherier - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class Receiver extends simgrid.msg.Process { - - final double commSizeLat = 1; - final double commSizeBw = 100000000; - - public void main(String[] args) throws MsgException { - - Msg.info("hello!"); - double communicationTime=0; - - double time = Msg.getClock(); - - Msg.info("try to get a task"); - - PingPongTask task = (PingPongTask)Task.receive(getHost().getName()); - double timeGot = Msg.getClock(); - double timeSent = task.getTime(); - - Msg.info("Got at time "+ timeGot); - Msg.info("Was sent at time "+timeSent); - time=timeSent; - - communicationTime=timeGot - time; - Msg.info("Communication time : " + communicationTime); - - Msg.info(" --- bw "+ commSizeBw/communicationTime + " ----"); - - Msg.info("goodbye!"); - } -} \ No newline at end of file diff --git a/examples/pingPong/Sender.java b/examples/pingPong/Sender.java deleted file mode 100644 index 17f2dfd267..0000000000 --- a/examples/pingPong/Sender.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Sender of basic ping/pong example - * - * Copyright 2006,2007,2010 The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class Sender extends simgrid.msg.Process { - - private final double commSizeLat = 1; - final double commSizeBw = 100000000; - - public void main(String[] args) throws MsgException { - - Msg.info("hello!"); - - int hostCount = args.length; - - Msg.info("host count: " + hostCount); - String mailboxes[] = new String[hostCount]; - double time; - double computeDuration = 0; - PingPongTask task; - - for(int pos = 0; pos < args.length ; pos++) { - try { - mailboxes[pos] = Host.getByName(args[pos]).getName(); - } catch (HostNotFoundException e) { - Msg.info("Invalid deployment file: " + e.toString()); - System.exit(1); - } - } - - for (int pos = 0; pos < hostCount; pos++) { - time = Msg.getClock(); - - Msg.info("sender time: " + time); - - task = new PingPongTask("no name",computeDuration,commSizeLat); - task.setTime(time); - - task.send(mailboxes[pos]); - } - - Msg.info("goodbye!"); - } -} \ No newline at end of file diff --git a/examples/pingPong/hs_err_pid27276.log b/examples/pingPong/hs_err_pid27276.log deleted file mode 100644 index 89ad8bfb6b..0000000000 --- a/examples/pingPong/hs_err_pid27276.log +++ /dev/null @@ -1,254 +0,0 @@ -# -# A fatal error has been detected by the Java Runtime Environment: -# -# SIGSEGV (0xb) at pc=0x7f3026c3, pid=27276, tid=3063774064 -# -# JRE version: 6.0_22-b04 -# Java VM: Java HotSpot(TM) Server VM (17.1-b03 mixed mode linux-x86 ) -# Problematic frame: -# C [libsimgrid.so.3.5+0x336c3] xbt_fifo_push_item+0xc3 -# -# If you would like to submit a bug report, please visit: -# http://java.sun.com/webapps/bugreport/crash.jsp -# The crash happened outside the Java Virtual Machine in native code. -# See problematic frame for where to report the bug. -# - ---------------- T H R E A D --------------- - -Current thread (0x0850e000): JavaThread "main" [_thread_in_native, id=27332, stack(0xb6987000,0xb69d8000)] - -siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000004 - -Registers: -EAX=0x085cfe70, EBX=0x7f3f3d38, ECX=0x00000000, EDX=0x00000000 -ESP=0xb69d6640, EBP=0xb69d6668, ESI=0x00000000, EDI=0x085d00b0 -EIP=0x7f3026c3, CR2=0x00000004, EFLAGS=0x00010246 - -Top of Stack: (sp=0xb69d6640) -0xb69d6640: b7169668 0850e910 b69d6668 00000000 -0xb69d6650: 0000000e b69d6550 7f2d70d8 7f3f3d38 -0xb69d6660: 085cfe70 085d00b0 b69d6688 7f33166b -0xb69d6670: 00000000 085cfe70 b77325d6 7f3f3d38 -0xb69d6680: 7f3f3d38 085d9968 b69d66c8 7f3317b0 -0xb69d6690: 00000000 085d00b0 001259a8 7f2cf000 -0xb69d66a0: 00000000 bff00000 00000000 3ff00000 -0xb69d66b0: b69d6708 b77382c0 085d66c8 7f3f3d38 - -Instructions: (pc=0x7f3026c3) -0x7f3026b3: fe ff 8d 76 00 8b 48 08 85 c9 0f 85 68 ff ff ff -0x7f3026c3: 8b 7a 04 83 02 01 85 ff 74 2b 8b 4a 08 89 48 08 - -Stack: [0xb6987000,0xb69d8000], sp=0xb69d6640, free space=13db69d5fc0k -Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) -C [libsimgrid.so.3.5+0x336c3] xbt_fifo_push_item+0xc3 -C [libsimgrid.so.3.5+0x6266b] xbt_fifo_push+0x3b -C [libsimgrid.so.3.5+0x627b0] SIMIX_comm_isend+0xa0 -C [libsimgrid.so.3.5+0x8c87a] SIMIX_request_pre+0x1ea -C [libsimgrid.so.3.5+0x9581e] SIMIX_run+0x3e -C [libsimgrid.so.3.5+0x959dc] MSG_main+0x3c -C [libsimgrid.so.3.5+0x95a0f] Java_simgrid_msg_Msg_run+0x1f -j simgrid.msg.Msg.run()V+0 -j PingPongTest.main([Ljava/lang/String;)V+36 -v ~StubRoutines::call_stub -V [libjvm.so+0x395980] -V [libjvm.so+0x579408] -V [libjvm.so+0x3957df] -V [libjvm.so+0x3c7c83] -V [libjvm.so+0x3b7edc] -C [java+0x1b98] JavaMain+0x2c8 -C [libpthread.so.0+0x5955] - -Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) -j simgrid.msg.Msg.run()V+0 -j PingPongTest.main([Ljava/lang/String;)V+36 -v ~StubRoutines::call_stub - ---------------- P R O C E S S --------------- - -Java Threads: ( => current thread ) - 0x085da800 JavaThread "Thread-1" [_thread_blocked, id=27449, stack(0x7f0c5000,0x7f116000)] - 0x085d9c00 JavaThread "Thread-0" [_thread_blocked, id=27447, stack(0x7f116000,0x7f167000)] - 0x085a7400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=27434, stack(0x7f47b000,0x7f4cc000)] - 0x085a4000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=27433, stack(0x7f4cc000,0x7f54d000)] - 0x085a2000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=27432, stack(0x7f54d000,0x7f5ce000)] - 0x085a0800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=27430, stack(0x7f5ce000,0x7f61f000)] - 0x0858d800 JavaThread "Finalizer" daemon [_thread_blocked, id=27374, stack(0x7f794000,0x7f7e5000)] - 0x0858c000 JavaThread "Reference Handler" daemon [_thread_blocked, id=27373, stack(0x7f7e5000,0x7f836000)] -=>0x0850e000 JavaThread "main" [_thread_in_native, id=27332, stack(0xb6987000,0xb69d8000)] - -Other Threads: - 0x08589800 VMThread [stack: 0x7f836000,0x7f8b7000] [id=27369] - 0x085a9400 WatcherThread [stack: 0x7f3fa000,0x7f47b000] [id=27436] - -VM state:not at safepoint (normal execution) - -VM Mutex/Monitor currently owned by a thread: None - -Heap - PSYoungGen total 14208K, used 978K [0xa3a40000, 0xa4a10000, 0xb3840000) - eden space 12224K, 8% used [0xa3a40000,0xa3b34800,0xa4630000) - from space 1984K, 0% used [0xa4820000,0xa4820000,0xa4a10000) - to space 1984K, 0% used [0xa4630000,0xa4630000,0xa4820000) - PSOldGen total 32512K, used 0K [0x83e40000, 0x85e00000, 0xa3a40000) - object space 32512K, 0% used [0x83e40000,0x83e40000,0x85e00000) - PSPermGen total 16384K, used 1943K [0x7fe40000, 0x80e40000, 0x83e40000) - object space 16384K, 11% used [0x7fe40000,0x80025f98,0x80e40000) - -Dynamic libraries: -08048000-08052000 r-xp 00000000 08:01 9338 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/bin/java -08052000-08053000 rwxp 00009000 08:01 9338 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/bin/java -08508000-085fd000 rwxp 00000000 00:00 0 [heap] -105dc000-105dd000 rwxp 00000000 00:00 0 -7f0c5000-7f0c8000 ---p 00000000 00:00 0 -7f0c8000-7f116000 rwxp 00000000 00:00 0 -7f116000-7f119000 ---p 00000000 00:00 0 -7f119000-7f167000 rwxp 00000000 00:00 0 -7f25d000-7f282000 r-xp 00000000 08:01 147450 /usr/lib/liblua5.1.so.0.0.0 -7f282000-7f283000 rwxp 00024000 08:01 147450 /usr/lib/liblua5.1.so.0.0.0 -7f283000-7f2b5000 r-xp 00000000 08:01 431643 /lib/libpcre.so.3.12.1 -7f2b5000-7f2b6000 rwxp 00031000 08:01 431643 /lib/libpcre.so.3.12.1 -7f2cf000-7f3f3000 r-xp 00000000 08:03 1933476 /home/mquinson/Code/simgrid/lib/libsimgrid.so.3.5 -7f3f3000-7f3f7000 rwxp 00124000 08:03 1933476 /home/mquinson/Code/simgrid/lib/libsimgrid.so.3.5 -7f3f7000-7f3fa000 rwxp 00000000 00:00 0 -7f3fa000-7f3fb000 ---p 00000000 00:00 0 -7f3fb000-7f47b000 rwxp 00000000 00:00 0 -7f47b000-7f47e000 ---p 00000000 00:00 0 -7f47e000-7f4cc000 rwxp 00000000 00:00 0 -7f4cc000-7f4cf000 ---p 00000000 00:00 0 -7f4cf000-7f54d000 rwxp 00000000 00:00 0 -7f54d000-7f550000 ---p 00000000 00:00 0 -7f550000-7f5ce000 rwxp 00000000 00:00 0 -7f5ce000-7f5d1000 ---p 00000000 00:00 0 -7f5d1000-7f61f000 rwxp 00000000 00:00 0 -7f61f000-7f794000 r-xp 00000000 08:01 366595 /usr/lib/locale/locale-archive -7f794000-7f797000 ---p 00000000 00:00 0 -7f797000-7f7e5000 rwxp 00000000 00:00 0 -7f7e5000-7f7e8000 ---p 00000000 00:00 0 -7f7e8000-7f836000 rwxp 00000000 00:00 0 -7f836000-7f837000 ---p 00000000 00:00 0 -7f837000-7f8ea000 rwxp 00000000 00:00 0 -7f8ea000-7fa82000 r-xs 03013000 08:01 255096 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar -7fa82000-7fa83000 ---p 00000000 00:00 0 -7fa83000-7fb03000 rwxp 00000000 00:00 0 -7fb03000-7fb04000 ---p 00000000 00:00 0 -7fb04000-7fb8c000 rwxp 00000000 00:00 0 -7fb8c000-7fba4000 rwxp 00000000 00:00 0 -7fba4000-7fbb4000 rwxp 00000000 00:00 0 -7fbb4000-7fca2000 rwxp 00000000 00:00 0 -7fca2000-7fcaa000 rwxp 00000000 00:00 0 -7fcaa000-7fcc2000 rwxp 00000000 00:00 0 -7fcc2000-7fcd2000 rwxp 00000000 00:00 0 -7fcd2000-7fdc0000 rwxp 00000000 00:00 0 -7fdc0000-7fdc8000 rwxp 00000000 00:00 0 -7fdc8000-7fe3f000 rwxp 00000000 00:00 0 -7fe3f000-80e40000 rwxp 00000000 00:00 0 -80e40000-83e40000 rwxp 00000000 00:00 0 -83e40000-85e00000 rwxp 00000000 00:00 0 -85e00000-a3a40000 rwxp 00000000 00:00 0 -a3a40000-a4a10000 rwxp 00000000 00:00 0 -a4a10000-b3840000 rwxp 00000000 00:00 0 -b384b000-b3854000 rwxp 00000000 00:00 0 -b3854000-b390b000 rwxp 00000000 00:00 0 -b390b000-b3b4b000 rwxp 00000000 00:00 0 -b3b4b000-b690b000 rwxp 00000000 00:00 0 -b690b000-b6915000 r-xp 00000000 08:01 444869 /lib/i686/cmov/libnss_files-2.11.2.so -b6915000-b6916000 r-xp 00009000 08:01 444869 /lib/i686/cmov/libnss_files-2.11.2.so -b6916000-b6917000 rwxp 0000a000 08:01 444869 /lib/i686/cmov/libnss_files-2.11.2.so -b6917000-b691f000 r-xp 00000000 08:01 444566 /lib/i686/cmov/libnss_nis-2.11.2.so -b691f000-b6920000 r-xp 00008000 08:01 444566 /lib/i686/cmov/libnss_nis-2.11.2.so -b6920000-b6921000 rwxp 00009000 08:01 444566 /lib/i686/cmov/libnss_nis-2.11.2.so -b6921000-b6927000 r-xp 00000000 08:01 444559 /lib/i686/cmov/libnss_compat-2.11.2.so -b6927000-b6928000 r-xp 00006000 08:01 444559 /lib/i686/cmov/libnss_compat-2.11.2.so -b6928000-b6929000 rwxp 00007000 08:01 444559 /lib/i686/cmov/libnss_compat-2.11.2.so -b6929000-b693c000 r-xp 00000000 08:01 444885 /lib/i686/cmov/libnsl-2.11.2.so -b693c000-b693d000 r-xp 00012000 08:01 444885 /lib/i686/cmov/libnsl-2.11.2.so -b693d000-b693e000 rwxp 00013000 08:01 444885 /lib/i686/cmov/libnsl-2.11.2.so -b693e000-b6940000 rwxp 00000000 00:00 0 -b6940000-b694f000 r-xp 00000000 08:01 104324 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libzip.so -b694f000-b6951000 rwxp 0000e000 08:01 104324 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libzip.so -b6951000-b6959000 rwxs 00000000 08:01 270818 /tmp/hsperfdata_mquinson/27276 -b6959000-b697c000 r-xp 00000000 08:01 104450 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libjava.so -b697c000-b697e000 rwxp 00023000 08:01 104450 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libjava.so -b697e000-b6985000 r-xp 00000000 08:01 444624 /lib/i686/cmov/librt-2.11.2.so -b6985000-b6986000 r-xp 00006000 08:01 444624 /lib/i686/cmov/librt-2.11.2.so -b6986000-b6987000 rwxp 00007000 08:01 444624 /lib/i686/cmov/librt-2.11.2.so -b6987000-b698a000 ---p 00000000 00:00 0 -b698a000-b69d8000 rwxp 00000000 00:00 0 -b69d8000-b69fc000 r-xp 00000000 08:01 444560 /lib/i686/cmov/libm-2.11.2.so -b69fc000-b69fd000 r-xp 00023000 08:01 444560 /lib/i686/cmov/libm-2.11.2.so -b69fd000-b69fe000 rwxp 00024000 08:01 444560 /lib/i686/cmov/libm-2.11.2.so -b69fe000-b712a000 r-xp 00000000 08:01 111331 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/server/libjvm.so -b712a000-b717d000 rwxp 0072c000 08:01 111331 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/server/libjvm.so -b717d000-b759d000 rwxp 00000000 00:00 0 -b759d000-b76dd000 r-xp 00000000 08:01 444886 /lib/i686/cmov/libc-2.11.2.so -b76dd000-b76df000 r-xp 0013f000 08:01 444886 /lib/i686/cmov/libc-2.11.2.so -b76df000-b76e0000 rwxp 00141000 08:01 444886 /lib/i686/cmov/libc-2.11.2.so -b76e0000-b76e3000 rwxp 00000000 00:00 0 -b76e3000-b76e5000 r-xp 00000000 08:01 444649 /lib/i686/cmov/libdl-2.11.2.so -b76e5000-b76e6000 r-xp 00001000 08:01 444649 /lib/i686/cmov/libdl-2.11.2.so -b76e6000-b76e7000 rwxp 00002000 08:01 444649 /lib/i686/cmov/libdl-2.11.2.so -b76e7000-b76ee000 r-xp 00000000 08:01 146798 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/jli/libjli.so -b76ee000-b76f0000 rwxp 00006000 08:01 146798 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/jli/libjli.so -b76f0000-b76f1000 rwxp 00000000 00:00 0 -b76f1000-b7706000 r-xp 00000000 08:01 444583 /lib/i686/cmov/libpthread-2.11.2.so -b7706000-b7707000 r-xp 00014000 08:01 444583 /lib/i686/cmov/libpthread-2.11.2.so -b7707000-b7708000 rwxp 00015000 08:01 444583 /lib/i686/cmov/libpthread-2.11.2.so -b7708000-b770a000 rwxp 00000000 00:00 0 -b770c000-b770e000 r-xs 00002000 08:03 9135067 /home/mquinson/Code/simgrid/simgrid.jar -b770e000-b7714000 r-xp 00000000 08:01 187405 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/native_threads/libhpi.so -b7714000-b7715000 rwxp 00006000 08:01 187405 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/native_threads/libhpi.so -b7715000-b7716000 rwxp 00000000 00:00 0 -b7716000-b7717000 r-xp 00000000 00:00 0 -b7717000-b7722000 r-xp 00000000 08:01 104465 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libverify.so -b7722000-b7723000 rwxp 0000b000 08:01 104465 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libverify.so -b7723000-b7725000 rwxp 00000000 00:00 0 -b7725000-b7740000 r-xp 00000000 08:01 432710 /lib/ld-2.11.2.so -b7740000-b7741000 r-xp 0001a000 08:01 432710 /lib/ld-2.11.2.so -b7741000-b7742000 rwxp 0001b000 08:01 432710 /lib/ld-2.11.2.so -bfee1000-bfef6000 rwxp 00000000 00:00 0 [stack] - -VM Arguments: -java_command: PingPongTest ping_pong_platform.xml ping_pong_deployment.xml -Launcher Type: SUN_STANDARD - -Environment Variables: -PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/home/mquinson/SCRIPTS:/usr/sbin:/sbin:/opt/simgrid/bin -USERNAME=mquinson -LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/opt/simgrid/lib:/opt/allegro5/lib:/home/mquinson/Code/simgrid/lib -SHELL=/bin/bash -DISPLAY=:0.0 - -Signal Handlers: -SIGSEGV: [libjvm.so+0x6a9f20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGBUS: [libjvm.so+0x6a9f20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGFPE: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGPIPE: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGXFSZ: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGILL: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 -SIGUSR2: [libjvm.so+0x57ae20], sa_mask[0]=0x00000000, sa_flags=0x10000004 -SIGHUP: [libjvm.so+0x57ab50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGINT: [libsimgrid.so.3.5+0x4bb60], sa_mask[0]=0x00000002, sa_flags=0x10000000 -SIGTERM: [libjvm.so+0x57ab50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGQUIT: [libjvm.so+0x57ab50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 - - ---------------- S Y S T E M --------------- - -OS:squeeze/sid - -uname:Linux 2.6.32-5-686 #1 SMP Sat Oct 30 22:47:19 UTC 2010 i686 -libc:glibc 2.11.2 NPTL 2.11.2 -rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity -load average:2.28 0.72 0.53 - -CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 - -Memory: 4k page, physical 3113680k(312340k free), swap 2931852k(2931728k free) - -vm_info: Java HotSpot(TM) Server VM (17.1-b03) for linux-x86 JRE (1.6.0_22-b04), built on Sep 15 2010 01:02:09 by "java_re" with gcc 3.2.1-7a (J2SE release) - -time: Tue Nov 9 22:12:01 2010 -elapsed time: 4 seconds - diff --git a/examples/pingPong/hs_err_pid28000.log b/examples/pingPong/hs_err_pid28000.log deleted file mode 100644 index cfa050f5a8..0000000000 --- a/examples/pingPong/hs_err_pid28000.log +++ /dev/null @@ -1,256 +0,0 @@ -# -# A fatal error has been detected by the Java Runtime Environment: -# -# SIGSEGV (0xb) at pc=0x7f1b56c3, pid=28000, tid=3063688048 -# -# JRE version: 6.0_22-b04 -# Java VM: Java HotSpot(TM) Server VM (17.1-b03 mixed mode linux-x86 ) -# Problematic frame: -# C [libsimgrid.so.3.5+0x336c3] xbt_fifo_push_item+0xc3 -# -# If you would like to submit a bug report, please visit: -# http://java.sun.com/webapps/bugreport/crash.jsp -# The crash happened outside the Java Virtual Machine in native code. -# See problematic frame for where to report the bug. -# - ---------------- T H R E A D --------------- - -Current thread (0x08168000): JavaThread "main" [_thread_in_native, id=28001, stack(0xb6972000,0xb69c3000)] - -siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000004 - -Registers: -EAX=0x08229d58, EBX=0x7f2a6d38, ECX=0x00000000, EDX=0x00000000 -ESP=0xb69c1640, EBP=0xb69c1668, ESI=0x00000000, EDI=0x7f4006e0 -EIP=0x7f1b56c3, CR2=0x00000004, EFLAGS=0x00010246 - -Top of Stack: (sp=0xb69c1640) -0xb69c1640: b7154668 08168910 b69c1668 00000000 -0xb69c1650: 0000000e b69c1550 7f18a0d8 7f2a6d38 -0xb69c1660: 08229d58 7f4006e0 b69c1688 7f1e466b -0xb69c1670: 00000000 08229d58 b771d5d6 7f2a6d38 -0xb69c1680: 7f2a6d38 7f400670 b69c16c8 7f1e47b0 -0xb69c1690: 00000000 7f4006e0 001259a8 7f182000 -0xb69c16a0: 00000000 bff00000 00000000 3ff00000 -0xb69c16b0: b69c1708 b77232c0 08229f48 7f2a6d38 - -Instructions: (pc=0x7f1b56c3) -0x7f1b56b3: fe ff 8d 76 00 8b 48 08 85 c9 0f 85 68 ff ff ff -0x7f1b56c3: 8b 7a 04 83 02 01 85 ff 74 2b 8b 4a 08 89 48 08 - -Stack: [0xb6972000,0xb69c3000], sp=0xb69c1640, free space=13db69c0fc0k -Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) -C [libsimgrid.so.3.5+0x336c3] xbt_fifo_push_item+0xc3 -C [libsimgrid.so.3.5+0x6266b] xbt_fifo_push+0x3b -C [libsimgrid.so.3.5+0x627b0] SIMIX_comm_isend+0xa0 -C [libsimgrid.so.3.5+0x8c87a] SIMIX_request_pre+0x1ea -C [libsimgrid.so.3.5+0x9581e] SIMIX_run+0x3e -C [libsimgrid.so.3.5+0x959dc] MSG_main+0x3c -C [libsimgrid.so.3.5+0x95a0f] Java_simgrid_msg_Msg_run+0x1f -j simgrid.msg.Msg.run()V+0 -j PingPongTest.main([Ljava/lang/String;)V+36 -v ~StubRoutines::call_stub -V [libjvm.so+0x395980] -V [libjvm.so+0x579408] -V [libjvm.so+0x3957df] -V [libjvm.so+0x3c7c83] -V [libjvm.so+0x3b7edc] -C [java+0x1b98] JavaMain+0x2c8 -C [libpthread.so.0+0x5955] - -Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) -j simgrid.msg.Msg.run()V+0 -j PingPongTest.main([Ljava/lang/String;)V+36 -v ~StubRoutines::call_stub - ---------------- P R O C E S S --------------- - -Java Threads: ( => current thread ) - 0x08234800 JavaThread "Thread-1" [_thread_blocked, id=28013, stack(0x7ef92000,0x7efe3000)] - 0x08233c00 JavaThread "Thread-0" [_thread_blocked, id=28012, stack(0x7efe3000,0x7f034000)] - 0x08201400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=28010, stack(0x7f32e000,0x7f37f000)] - 0x081fe000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=28009, stack(0x7f37f000,0x7f400000)] - 0x081fc000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=28008, stack(0x7f53d000,0x7f5be000)] - 0x081fa800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=28007, stack(0x7f5be000,0x7f60f000)] - 0x081e7800 JavaThread "Finalizer" daemon [_thread_blocked, id=28006, stack(0x7f784000,0x7f7d5000)] - 0x081e6000 JavaThread "Reference Handler" daemon [_thread_blocked, id=28005, stack(0x7f7d5000,0x7f826000)] -=>0x08168000 JavaThread "main" [_thread_in_native, id=28001, stack(0xb6972000,0xb69c3000)] - -Other Threads: - 0x081e3800 VMThread [stack: 0x7f826000,0x7f8a7000] [id=28004] - 0x08203000 WatcherThread [stack: 0x7f2ad000,0x7f32e000] [id=28011] - -VM state:not at safepoint (normal execution) - -VM Mutex/Monitor currently owned by a thread: None - -Heap - PSYoungGen total 14208K, used 978K [0xa3a30000, 0xa4a00000, 0xb3830000) - eden space 12224K, 8% used [0xa3a30000,0xa3b24800,0xa4620000) - from space 1984K, 0% used [0xa4810000,0xa4810000,0xa4a00000) - to space 1984K, 0% used [0xa4620000,0xa4620000,0xa4810000) - PSOldGen total 32512K, used 0K [0x83e30000, 0x85df0000, 0xa3a30000) - object space 32512K, 0% used [0x83e30000,0x83e30000,0x85df0000) - PSPermGen total 16384K, used 1943K [0x7fe30000, 0x80e30000, 0x83e30000) - object space 16384K, 11% used [0x7fe30000,0x80015f98,0x80e30000) - -Dynamic libraries: -08048000-08052000 r-xp 00000000 08:01 9338 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/bin/java -08052000-08053000 rwxp 00009000 08:01 9338 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/bin/java -08162000-08259000 rwxp 00000000 00:00 0 [heap] -10236000-10237000 rwxp 00000000 00:00 0 -7ef92000-7ef95000 ---p 00000000 00:00 0 -7ef95000-7efe3000 rwxp 00000000 00:00 0 -7efe3000-7efe6000 ---p 00000000 00:00 0 -7efe6000-7f034000 rwxp 00000000 00:00 0 -7f129000-7f14e000 r-xp 00000000 08:01 147450 /usr/lib/liblua5.1.so.0.0.0 -7f14e000-7f14f000 rwxp 00024000 08:01 147450 /usr/lib/liblua5.1.so.0.0.0 -7f14f000-7f181000 r-xp 00000000 08:01 431643 /lib/libpcre.so.3.12.1 -7f181000-7f182000 rwxp 00031000 08:01 431643 /lib/libpcre.so.3.12.1 -7f182000-7f2a6000 r-xp 00000000 08:03 1933476 /home/mquinson/Code/simgrid/lib/libsimgrid.so.3.5 -7f2a6000-7f2aa000 rwxp 00124000 08:03 1933476 /home/mquinson/Code/simgrid/lib/libsimgrid.so.3.5 -7f2aa000-7f2ad000 rwxp 00000000 00:00 0 -7f2ad000-7f2ae000 ---p 00000000 00:00 0 -7f2ae000-7f32e000 rwxp 00000000 00:00 0 -7f32e000-7f331000 ---p 00000000 00:00 0 -7f331000-7f37f000 rwxp 00000000 00:00 0 -7f37f000-7f382000 ---p 00000000 00:00 0 -7f382000-7f400000 rwxp 00000000 00:00 0 -7f400000-7f421000 rwxp 00000000 00:00 0 -7f421000-7f500000 ---p 00000000 00:00 0 -7f53d000-7f540000 ---p 00000000 00:00 0 -7f540000-7f5be000 rwxp 00000000 00:00 0 -7f5be000-7f5c1000 ---p 00000000 00:00 0 -7f5c1000-7f60f000 rwxp 00000000 00:00 0 -7f60f000-7f784000 r-xp 00000000 08:01 366595 /usr/lib/locale/locale-archive -7f784000-7f787000 ---p 00000000 00:00 0 -7f787000-7f7d5000 rwxp 00000000 00:00 0 -7f7d5000-7f7d8000 ---p 00000000 00:00 0 -7f7d8000-7f826000 rwxp 00000000 00:00 0 -7f826000-7f827000 ---p 00000000 00:00 0 -7f827000-7f8da000 rwxp 00000000 00:00 0 -7f8da000-7fa72000 r-xs 03013000 08:01 255096 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/rt.jar -7fa72000-7fa73000 ---p 00000000 00:00 0 -7fa73000-7faf3000 rwxp 00000000 00:00 0 -7faf3000-7faf4000 ---p 00000000 00:00 0 -7faf4000-7fb7c000 rwxp 00000000 00:00 0 -7fb7c000-7fb94000 rwxp 00000000 00:00 0 -7fb94000-7fba4000 rwxp 00000000 00:00 0 -7fba4000-7fc92000 rwxp 00000000 00:00 0 -7fc92000-7fc9a000 rwxp 00000000 00:00 0 -7fc9a000-7fcb2000 rwxp 00000000 00:00 0 -7fcb2000-7fcc2000 rwxp 00000000 00:00 0 -7fcc2000-7fdb0000 rwxp 00000000 00:00 0 -7fdb0000-7fdb8000 rwxp 00000000 00:00 0 -7fdb8000-7fe2f000 rwxp 00000000 00:00 0 -7fe2f000-80e30000 rwxp 00000000 00:00 0 -80e30000-83e30000 rwxp 00000000 00:00 0 -83e30000-85df0000 rwxp 00000000 00:00 0 -85df0000-a3a30000 rwxp 00000000 00:00 0 -a3a30000-a4a00000 rwxp 00000000 00:00 0 -a4a00000-b3830000 rwxp 00000000 00:00 0 -b3836000-b383f000 rwxp 00000000 00:00 0 -b383f000-b38f6000 rwxp 00000000 00:00 0 -b38f6000-b3b36000 rwxp 00000000 00:00 0 -b3b36000-b68f6000 rwxp 00000000 00:00 0 -b68f6000-b6900000 r-xp 00000000 08:01 444869 /lib/i686/cmov/libnss_files-2.11.2.so -b6900000-b6901000 r-xp 00009000 08:01 444869 /lib/i686/cmov/libnss_files-2.11.2.so -b6901000-b6902000 rwxp 0000a000 08:01 444869 /lib/i686/cmov/libnss_files-2.11.2.so -b6902000-b690a000 r-xp 00000000 08:01 444566 /lib/i686/cmov/libnss_nis-2.11.2.so -b690a000-b690b000 r-xp 00008000 08:01 444566 /lib/i686/cmov/libnss_nis-2.11.2.so -b690b000-b690c000 rwxp 00009000 08:01 444566 /lib/i686/cmov/libnss_nis-2.11.2.so -b690c000-b6912000 r-xp 00000000 08:01 444559 /lib/i686/cmov/libnss_compat-2.11.2.so -b6912000-b6913000 r-xp 00006000 08:01 444559 /lib/i686/cmov/libnss_compat-2.11.2.so -b6913000-b6914000 rwxp 00007000 08:01 444559 /lib/i686/cmov/libnss_compat-2.11.2.so -b6914000-b6927000 r-xp 00000000 08:01 444885 /lib/i686/cmov/libnsl-2.11.2.so -b6927000-b6928000 r-xp 00012000 08:01 444885 /lib/i686/cmov/libnsl-2.11.2.so -b6928000-b6929000 rwxp 00013000 08:01 444885 /lib/i686/cmov/libnsl-2.11.2.so -b6929000-b692b000 rwxp 00000000 00:00 0 -b692b000-b693a000 r-xp 00000000 08:01 104324 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libzip.so -b693a000-b693c000 rwxp 0000e000 08:01 104324 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libzip.so -b693c000-b6944000 rwxs 00000000 08:01 270801 /tmp/hsperfdata_mquinson/28000 -b6944000-b6967000 r-xp 00000000 08:01 104450 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libjava.so -b6967000-b6969000 rwxp 00023000 08:01 104450 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libjava.so -b6969000-b6970000 r-xp 00000000 08:01 444624 /lib/i686/cmov/librt-2.11.2.so -b6970000-b6971000 r-xp 00006000 08:01 444624 /lib/i686/cmov/librt-2.11.2.so -b6971000-b6972000 rwxp 00007000 08:01 444624 /lib/i686/cmov/librt-2.11.2.so -b6972000-b6975000 ---p 00000000 00:00 0 -b6975000-b69c3000 rwxp 00000000 00:00 0 -b69c3000-b69e7000 r-xp 00000000 08:01 444560 /lib/i686/cmov/libm-2.11.2.so -b69e7000-b69e8000 r-xp 00023000 08:01 444560 /lib/i686/cmov/libm-2.11.2.so -b69e8000-b69e9000 rwxp 00024000 08:01 444560 /lib/i686/cmov/libm-2.11.2.so -b69e9000-b7115000 r-xp 00000000 08:01 111331 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/server/libjvm.so -b7115000-b7168000 rwxp 0072c000 08:01 111331 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/server/libjvm.so -b7168000-b7588000 rwxp 00000000 00:00 0 -b7588000-b76c8000 r-xp 00000000 08:01 444886 /lib/i686/cmov/libc-2.11.2.so -b76c8000-b76ca000 r-xp 0013f000 08:01 444886 /lib/i686/cmov/libc-2.11.2.so -b76ca000-b76cb000 rwxp 00141000 08:01 444886 /lib/i686/cmov/libc-2.11.2.so -b76cb000-b76ce000 rwxp 00000000 00:00 0 -b76ce000-b76d0000 r-xp 00000000 08:01 444649 /lib/i686/cmov/libdl-2.11.2.so -b76d0000-b76d1000 r-xp 00001000 08:01 444649 /lib/i686/cmov/libdl-2.11.2.so -b76d1000-b76d2000 rwxp 00002000 08:01 444649 /lib/i686/cmov/libdl-2.11.2.so -b76d2000-b76d9000 r-xp 00000000 08:01 146798 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/jli/libjli.so -b76d9000-b76db000 rwxp 00006000 08:01 146798 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/jli/libjli.so -b76db000-b76dc000 rwxp 00000000 00:00 0 -b76dc000-b76f1000 r-xp 00000000 08:01 444583 /lib/i686/cmov/libpthread-2.11.2.so -b76f1000-b76f2000 r-xp 00014000 08:01 444583 /lib/i686/cmov/libpthread-2.11.2.so -b76f2000-b76f3000 rwxp 00015000 08:01 444583 /lib/i686/cmov/libpthread-2.11.2.so -b76f3000-b76f5000 rwxp 00000000 00:00 0 -b76f7000-b76f9000 r-xs 00002000 08:03 9135067 /home/mquinson/Code/simgrid/simgrid.jar -b76f9000-b76ff000 r-xp 00000000 08:01 187405 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/native_threads/libhpi.so -b76ff000-b7700000 rwxp 00006000 08:01 187405 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/native_threads/libhpi.so -b7700000-b7701000 rwxp 00000000 00:00 0 -b7701000-b7702000 r-xp 00000000 00:00 0 -b7702000-b770d000 r-xp 00000000 08:01 104465 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libverify.so -b770d000-b770e000 rwxp 0000b000 08:01 104465 /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/libverify.so -b770e000-b7710000 rwxp 00000000 00:00 0 -b7710000-b772b000 r-xp 00000000 08:01 432710 /lib/ld-2.11.2.so -b772b000-b772c000 r-xp 0001a000 08:01 432710 /lib/ld-2.11.2.so -b772c000-b772d000 rwxp 0001b000 08:01 432710 /lib/ld-2.11.2.so -bffba000-bffcf000 rwxp 00000000 00:00 0 [stack] - -VM Arguments: -java_command: PingPongTest ping_pong_platform.xml ping_pong_deployment.xml -Launcher Type: SUN_STANDARD - -Environment Variables: -PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/home/mquinson/SCRIPTS:/usr/sbin:/sbin:/opt/simgrid/bin -USERNAME=mquinson -LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.22/jre/../lib/i386:/opt/simgrid/lib:/opt/allegro5/lib:/home/mquinson/Code/simgrid/lib -SHELL=/bin/bash -DISPLAY=:0.0 - -Signal Handlers: -SIGSEGV: [libjvm.so+0x6a9f20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGBUS: [libjvm.so+0x6a9f20], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGFPE: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGPIPE: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGXFSZ: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGILL: [libjvm.so+0x5781e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000 -SIGUSR2: [libjvm.so+0x57ae20], sa_mask[0]=0x00000000, sa_flags=0x10000004 -SIGHUP: [libjvm.so+0x57ab50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGINT: [libsimgrid.so.3.5+0x4bb60], sa_mask[0]=0x00000002, sa_flags=0x10000000 -SIGTERM: [libjvm.so+0x57ab50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 -SIGQUIT: [libjvm.so+0x57ab50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004 - - ---------------- S Y S T E M --------------- - -OS:squeeze/sid - -uname:Linux 2.6.32-5-686 #1 SMP Sat Oct 30 22:47:19 UTC 2010 i686 -libc:glibc 2.11.2 NPTL 2.11.2 -rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity -load average:2.44 1.13 0.68 - -CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 - -Memory: 4k page, physical 3113680k(359884k free), swap 2931852k(2931728k free) - -vm_info: Java HotSpot(TM) Server VM (17.1-b03) for linux-x86 JRE (1.6.0_22-b04), built on Sep 15 2010 01:02:09 by "java_re" with gcc 3.2.1-7a (J2SE release) - -time: Tue Nov 9 22:13:02 2010 -elapsed time: 0 seconds - diff --git a/examples/pingPong/ping_pong.tesh b/examples/pingPong/ping_pong.tesh deleted file mode 100644 index dd53f02b34..0000000000 --- a/examples/pingPong/ping_pong.tesh +++ /dev/null @@ -1,16 +0,0 @@ -# compile the example -$ javac -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR. *.java - -# run the comm_time sample -$ java -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR PingPongTest ping_pong_platform.xml ping_pong_deployment.xml -> [Inmos:Sender:(1) 0.000000] [jmsg/INFO] hello! -> [Inmos:Sender:(1) 0.000000] [jmsg/INFO] host count : 1 -> [Inmos:Sender:(1) 0.000000] [jmsg/INFO] sender time : 0.0 -> [Bellevue:Receiver:(2) 0.000000] [jmsg/INFO] hello! -> [Bellevue:Receiver:(2) 0.000000] [jmsg/INFO] try to get a task -> [Inmos:Sender:(1) 0.001462] [jmsg/INFO] goodbye! -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] Got at time 0.0014616631517 -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] Was sent at time 0.0 -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] Communication time : 0.0014616631517 -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] --- bw 6.841521583389041E10 ---- -> [Bellevue:Receiver:(2) 0.001462] [jmsg/INFO] goodbye! \ No newline at end of file diff --git a/examples/pingPong/ping_pong_deployment.xml b/examples/pingPong/ping_pong_deployment.xml deleted file mode 100644 index e4600d36ae..0000000000 --- a/examples/pingPong/ping_pong_deployment.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/examples/platform.xml b/examples/platform.xml deleted file mode 100644 index 484de26362..0000000000 --- a/examples/platform.xml +++ /dev/null @@ -1,8298 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/runtest b/examples/runtest deleted file mode 100755 index 98d65c0dd2..0000000000 --- a/examples/runtest +++ /dev/null @@ -1,15 +0,0 @@ -#! /bin/sh - -if test "x$DO_NOT_HAVE_JAVA" = x1 ; then - exit 77 -fi - -t=`basename $1 .class` - -# uncomment this when JNI becomes mad -# options="-verbose:jni -Xcheck:jni " - -echo "(LD_LIBRARY_PATH=$LD_LIBRARY_PATH)" -echo "(CLASSPATH=$CLASSPATH)" -echo java $options $t *platform.xml *deployment.xml -java $options $t *platform.xml *deployment.xml diff --git a/examples/suspend/DreamMaster.java b/examples/suspend/DreamMaster.java deleted file mode 100644 index c548d9a857..0000000000 --- a/examples/suspend/DreamMaster.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * $Id$ - * - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class DreamMaster extends simgrid.msg.Process { - - public void main(String[] args) throws MsgException { - Msg.info("Hello !"); - Msg.info("Let's create a lazy guy."); - - try { - Host currentHost = Host.currentHost(); - Msg.info("Current hostname: " + currentHost.getName()); - - LazyGuy lazy = new LazyGuy(currentHost,"LazyGuy"); - Msg.info("Let's wait a little bit..."); - - simgrid.msg.Process.waitFor(10.0); - - Msg.info("Let's wake the lazy guy up! >:) "); - lazy.restart(); - - } catch(HostNotFoundException e) { - System.err.println(e); - System.exit(1); - } - - //lazy.migrate(currentHost); - - Msg.info("OK, goodbye now."); - } -} \ No newline at end of file diff --git a/examples/suspend/LazyGuy.java b/examples/suspend/LazyGuy.java deleted file mode 100644 index e31bae0ba3..0000000000 --- a/examples/suspend/LazyGuy.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright 2006,2007,2010. The SimGrid Team. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - -import simgrid.msg.*; - -public class LazyGuy extends simgrid.msg.Process { - public LazyGuy() { - super(); - } - - public LazyGuy(Host host,String name) throws HostNotFoundException, NativeException - { - super(host,name,null); - } - - - public void main(String[] args) throws NativeException { - Msg.info("Hello !"); - - Msg.info("Nobody's watching me ? Let's go to sleep."); - pause(); - - Msg.info("Uuuh ? Did somebody call me ?"); - Msg.info("Mmmh, goodbye now."); - } -} \ No newline at end of file diff --git a/examples/suspend/README b/examples/suspend/README deleted file mode 100644 index e7d4d54ca5..0000000000 --- a/examples/suspend/README +++ /dev/null @@ -1 +0,0 @@ -A simple example of the functions to stop and resume a process. \ No newline at end of file diff --git a/examples/suspend/SuspendTest.java b/examples/suspend/SuspendTest.java deleted file mode 100644 index 60acfd160a..0000000000 --- a/examples/suspend/SuspendTest.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * $Id$ - * - * Copyright 2006,2007 Martin Quinson, Malek Cherier - * All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. - */ - - -import simgrid.msg.*; - -public class SuspendTest { - - public static void main(String[] args) throws NativeException { - - /* initialize the MSG simulation. Must be done before anything else (even logging). */ - Msg.init(args); - - if(args.length < 2) { - - Msg.info("Usage : Suspend platform_file deployment_file"); - Msg.info("example : Suspend msg_test_suspend_platform.xml msg_test_suspend_deployment.xml"); - System.exit(1); - } - - /* construct the platform and deploy the application */ - Msg.createEnvironment(args[0]); - Msg.deployApplication(args[1]); - - /* execute the simulation. */ - Msg.run(); - } -} diff --git a/examples/suspend/suspend.tesh b/examples/suspend/suspend.tesh deleted file mode 100644 index 000a4492f3..0000000000 --- a/examples/suspend/suspend.tesh +++ /dev/null @@ -1,15 +0,0 @@ -# compile the example -$ javac -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR. *.java - -# run the comm_time sample -$ java -classpath $MSG4JAVA_CLASSPATH$ENV_SEPARATOR SuspendTest suspend_platform.xml suspend_deployment.xml -> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Hello ! -> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Let's create a lazy guy. -> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Current host name : Jacquelin -> [Jacquelin:DreamMaster:(1) 0.000000] [jmsg/INFO] Let's wait a little bit... -> [Jacquelin:LazyGuy:(2) 0.000000] [jmsg/INFO] Hello ! -> [Jacquelin:LazyGuy:(2) 0.000000] [jmsg/INFO] Nobody's watching me ? Let's go to sleep. -> [Jacquelin:DreamMaster:(1) 10.000000] [jmsg/INFO] Let's wake the lazy guy up! >:) -> [Jacquelin:DreamMaster:(1) 10.000000] [jmsg/INFO] OK, goodbye now. -> [Jacquelin:LazyGuy:(2) 10.000000] [jmsg/INFO] Uuuh ? Did somebody call me ? -> [Jacquelin:LazyGuy:(2) 10.000000] [jmsg/INFO] Mmmh, goodbye now. \ No newline at end of file diff --git a/examples/suspend/suspend_deployment.xml b/examples/suspend/suspend_deployment.xml deleted file mode 100644 index 2bfd68e6c0..0000000000 --- a/examples/suspend/suspend_deployment.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - -