Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanups in the cluster platform files
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 17 Sep 2018 22:30:18 +0000 (00:30 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 17 Sep 2018 22:30:18 +0000 (00:30 +0200)
examples/platforms/cluster_crossbar.xml [moved from examples/platforms/cluster_no_backbone.xml with 55% similarity]
examples/platforms/cluster_multi.xml [moved from examples/platforms/cluster_backbone.xml with 100% similarity]
examples/s4u/routing-get-clusters/s4u-routing-get-clusters.tesh
teshsuite/msg/cloud-sharing/cloud-sharing.tesh
tools/cmake/DefinePackages.cmake

similarity index 55%
rename from examples/platforms/cluster_no_backbone.xml
rename to examples/platforms/cluster_crossbar.xml
index c3acb30..138859f 100644 (file)
@@ -3,7 +3,7 @@
 <platform version="4.1">
   <!--           _________
                 |          |
-                |  router  |
+                | crossbar |
                 |__________|
                     / | \
                    /  |  \
                  /    |    \
                 /     |     \
             host0   host1   host2
+           
+    All hosts can communicate at full speed with no interference on
+    the crossbar. Only the links of each hosts are limiting.       
   -->
-  <zone id="AS0" routing="Full">
-    <cluster id="my_cluster_1" prefix="" suffix="" radical="0-262144" speed="1Gf" bw="125MBps" lat="50us"/>
+  <zone id="world" routing="Full">
+    <cluster id="cluster-crossbar" prefix="host-" suffix="simgrid.org" radical="0-262144" speed="1Gf" bw="125MBps" lat="50us"/>
   </zone>
 </platform>
index 7ccebfb..99cc45c 100644 (file)
@@ -1,4 +1,4 @@
-$ $SG_TEST_EXENV ${bindir:=.}/s4u-routing-get-clusters$EXEEXT ${platfdir}/cluster_backbone.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n"
+$ $SG_TEST_EXENV ${bindir:=.}/s4u-routing-get-clusters$EXEEXT ${platfdir}/cluster_multi.xml "--log=root.fmt:[%10.6r]%e(%P@%h)%e%m%n"
 > [  0.000000] (maestro@) simple
 > [  0.000000] (maestro@)    node-0.1core.org
 > [  0.000000] (maestro@)    node-1.1core.org
index 052a489..19345ad 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env tesh
 
-$ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${platfdir}/cluster_backbone.xml
+$ $SG_TEST_EXENV ${bindir:=.}/cloud-sharing$EXEEXT --log=root.fmt:%m%n ${platfdir}/cluster_multi.xml
 > # TEST ON SINGLE-CORE PMs
 > ## Check computation on regular PMs
 > ### Test '(o)1'. A task on a regular PM
index cf18211..9b49b2e 100644 (file)
@@ -1135,10 +1135,10 @@ set(PLATFORMS_EXAMPLES
   examples/platforms/bypassRoute.xml
   examples/platforms/cloud.xml
   examples/platforms/cluster.xml
-  examples/platforms/cluster_backbone.xml
+  examples/platforms/cluster_multi.xml
   examples/platforms/cluster_and_one_host.xml
   examples/platforms/cluster_prototype.lua
-  examples/platforms/cluster_no_backbone.xml
+  examples/platforms/cluster_crossbar.xml
   examples/platforms/cluster_torus.xml
   examples/platforms/cluster_fat_tree.xml
   examples/platforms/cluster_dragonfly.xml