Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix platform file for mutual exclusion example. Fix the associated test
authorSamuel Lepetit <samuel.lepetit@inria.fr>
Mon, 14 May 2012 15:19:37 +0000 (17:19 +0200)
committerSamuel Lepetit <samuel.lepetit@inria.fr>
Mon, 14 May 2012 15:19:37 +0000 (17:19 +0200)
examples/mutualExclusion/mutualexclusion.tesh
examples/mutualExclusion/ring3.xml

index a4e4ec8..e4aaa55 100644 (file)
@@ -3,9 +3,6 @@
 ! output sort
 
 $ java -cp .:${srcdir:=.}/examples:${srcdir:=.}/simgrid.jar mutualExclusion/centralized/MutexCentral ${srcdir:=.}/examples/mutualExclusion/ring3.xml ${srcdir:=.}/examples/mutualExclusion/centralized/mutex_centralized_deployment.xml
-> [0.000000] /home/navarro/workspace/simgrid/src/surf/surfxml_parse.c:40: [surf_parse/WARNING] /home/navarro/workspace/simgrid-java/examples/mutualExclusion/ring3.xml:23: Ignoring the identical redefinition of the route between "Host 1" and "Host 0"
-> [0.000000] /home/navarro/workspace/simgrid/src/surf/surfxml_parse.c:40: [surf_parse/WARNING] /home/navarro/workspace/simgrid-java/examples/mutualExclusion/ring3.xml:31: Ignoring the identical redefinition of the route between "Host 2" and "Host 0"
-> [0.000000] /home/navarro/workspace/simgrid/src/surf/surfxml_parse.c:40: [surf_parse/WARNING] /home/navarro/workspace/simgrid-java/examples/mutualExclusion/ring3.xml:35: Ignoring the identical redefinition of the route between "Host 2" and "Host 1"
 > [0.000000] [jmsg/INFO] Ready to run MSG_MAIN
 > [0.007806] [jmsg/INFO] Done running MSG_MAIN
 > [0.007806] [jmsg/INFO] MSG_main finished
index 8a18819..db3a300 100644 (file)
     <link_ctn id="l1"/>
   </route>
 
-  <route src="Host 1" dst="Host 0">
-    <link_ctn id="l0"/>
-  </route>
-
   <route src="Host 1" dst="Host 2">
     <link_ctn id="l2"/>
   </route>
 
-  <route src="Host 2" dst="Host 0">
-    <link_ctn id="l1"/>
-  </route>
-
-  <route src="Host 2" dst="Host 1">
-    <link_ctn id="l2"/>
-  </route>
 </AS>
 </platform>