Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup XML jungle in teshsuite
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 18 Feb 2016 10:50:23 +0000 (11:50 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Thu, 18 Feb 2016 10:50:23 +0000 (11:50 +0100)
  + some tags do not even exist anymore (foreach, set, ...)
  + reindent and remove trailing spaces, empty lines, and useless
    comments

70 files changed:
teshsuite/java/sleep_host_off/sleep_host_off_d.xml
teshsuite/mc/mutex_handling.xml
teshsuite/mc/replay/random_bug.xml
teshsuite/msg/get_sender/get_sender_d.xml
teshsuite/msg/host_on_off/host_on_off_d.xml
teshsuite/msg/host_on_off_processes/host_on_off_processes_d.xml
teshsuite/msg/pid/pid_d.xml
teshsuite/msg/process/process_d.xml
teshsuite/msg/process_join/process_join_d.xml
teshsuite/msg/task_destroy_cancel/task_destroy_cancel_d.xml
teshsuite/simdag/network/mxn/platform_4p_1switch.xml
teshsuite/simdag/network/p2p/platform_2p_1bb.xml
teshsuite/simdag/network/p2p/platform_2p_1fl.xml
teshsuite/simdag/network/p2p/platform_2p_1sl.xml
teshsuite/simdag/network/p2p/platform_2p_1switch.xml
teshsuite/simdag/partask/platform_2p_1sl.xml
teshsuite/simdag/partask/platform_2p_1sl_hetero.xml
teshsuite/simdag/platforms/CMakeLists.txt
teshsuite/simdag/platforms/basic_parsing_test_failing.tesh
teshsuite/simdag/platforms/bogus_disk_attachment.tesh
teshsuite/simdag/platforms/bogus_disk_attachment.xml
teshsuite/simdag/platforms/bogus_missing_dst_gateway.xml
teshsuite/simdag/platforms/bogus_missing_gateway.tesh
teshsuite/simdag/platforms/bogus_missing_src_gateway.xml
teshsuite/simdag/platforms/bogus_two_hosts_asymetric-2.xml
teshsuite/simdag/platforms/bogus_two_hosts_asymetric.xml
teshsuite/simdag/platforms/clusterA.xml
teshsuite/simdag/platforms/four_hosts_Dijkstra_ns3.xml
teshsuite/simdag/platforms/four_hosts_floyd.xml
teshsuite/simdag/platforms/four_hosts_floyd_bis.xml
teshsuite/simdag/platforms/four_hosts_floyd_ns3.xml
teshsuite/simdag/platforms/one_cluster.xml
teshsuite/simdag/platforms/one_cluster_file.xml
teshsuite/simdag/platforms/one_cluster_foreach.xml [deleted file]
teshsuite/simdag/platforms/one_cluster_fullduplex.xml
teshsuite/simdag/platforms/one_cluster_multicore.xml
teshsuite/simdag/platforms/one_cluster_one_host.xml [deleted file]
teshsuite/simdag/platforms/one_cluster_one_host_random.xml [deleted file]
teshsuite/simdag/platforms/one_cluster_properties_foreach.xml [deleted file]
teshsuite/simdag/platforms/one_cluster_properties_override.xml [deleted file]
teshsuite/simdag/platforms/one_cluster_router_id.xml
teshsuite/simdag/platforms/one_host.xml
teshsuite/simdag/platforms/one_host_availability.xml
teshsuite/simdag/platforms/one_host_properties.xml
teshsuite/simdag/platforms/one_host_state_file.xml
teshsuite/simdag/platforms/one_host_state_off.xml
teshsuite/simdag/platforms/one_host_state_on.xml
teshsuite/simdag/platforms/one_host_trace_file.xml
teshsuite/simdag/platforms/one_host_trace_inside.xml
teshsuite/simdag/platforms/one_link_availability.xml
teshsuite/simdag/platforms/one_link_fatpipe.xml
teshsuite/simdag/platforms/one_link_shared.xml
teshsuite/simdag/platforms/one_link_state_file.xml
teshsuite/simdag/platforms/platform_include.xml
teshsuite/simdag/platforms/properties.xml
teshsuite/simdag/platforms/random.xml
teshsuite/simdag/platforms/route_override.xml [deleted file]
teshsuite/simdag/platforms/test_of_is_router.xml
teshsuite/simdag/platforms/three_hosts_non_symmetric_route.xml
teshsuite/simdag/platforms/two_clusters.xml
teshsuite/simdag/platforms/two_clusters_one_name.xml
teshsuite/simdag/platforms/two_clusters_router_id.xml
teshsuite/simdag/platforms/two_clusters_symmetric.xml
teshsuite/simdag/platforms/two_hosts_multi_hop.xml
teshsuite/simdag/platforms/two_hosts_one_link.xml
teshsuite/simdag/platforms/two_hosts_one_link_fullduplex.xml
teshsuite/simdag/platforms/two_hosts_one_link_symmetrical.xml
teshsuite/simix/stack_overflow/stack_overflow.xml
teshsuite/simix/stack_overflow/stack_overflow_platform.xml
tools/cmake/DefinePackages.cmake

index 57937f4..5394f0b 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-  <!-- The master process (with some arguments) -->
-  <process host="Tremblay" function="sleep_host_off.SleepHostOff">
-  </process>
+  <process host="Tremblay" function="sleep_host_off.SleepHostOff"/>
 </platform>
index 57cbaea..7f60f93 100644 (file)
@@ -1,10 +1,9 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-<!-- For using with ping_pong, platform_sendrecv.xml -->
-
+  <!-- For using with ping_pong, platform_sendrecv.xml -->
   <!-- receiver my_name -->
-  <process host="Disney" function="receiver"></process>
+  <process host="Disney" function="receiver"/>
 
   <!-- sender my_name receiver_name other_sender_name -->
   <process host="Jill" function="sender">
@@ -13,5 +12,4 @@
   <process host="UNIX" function="sender">
     <argument value="Y"/>
   </process>
-
 </platform>
index e2f332c..d9ecb02 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-   <process host="Tremblay" function="app"/>
- </platform>
+  <process host="Tremblay" function="app"/>
+</platform>
index 703b135..2437d64 100644 (file)
@@ -1,9 +1,6 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-   <!-- Deployment -->
    <process host="Tremblay" function="send"/>
    <process host="Tremblay" function="receive"/>
- </platform>
+</platform>
index 5d99c6d..8ff8862 100644 (file)
@@ -1,11 +1,6 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-  <!-- The master process (with some arguments) -->
-  <process host="Tremblay" function="master">
-  </process>
-
-  <!-- The slave processes (with mailbox to listen on as argument) -->
-  <process host="Jupiter" function="slave">
-  </process>
+  <process host="Tremblay" function="master"/>
+  <process host="Jupiter" function="slave"/>
 </platform>
index 6726755..a9a6559 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-  <!-- The master process (with some arguments) -->
-  <process host="Tremblay" function="test_launcher">
-  </process>
+  <process host="Tremblay" function="test_launcher"/>
 </platform>
index 6456b75..e2ae5a4 100644 (file)
@@ -1,11 +1,8 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-   <!-- Deployment -->
    <process host="Tremblay" function="sendpid"/>
    <process host="Tremblay" function="sendpid"/>
    <process host="Tremblay" function="sendpid"/>
    <process host="Tremblay" function="killall"/>
- </platform>
+</platform>
index cafca99..2b4aabc 100644 (file)
@@ -1,11 +1,6 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-  <!-- The master process (with some arguments) -->
-  <process host="Tremblay" function="master">
-  </process>
-
-  <!-- The slave processes (with mailbox to listen on as argument) -->
-  <process host="Tremblay" function="slave">
-  </process>
+  <process host="Tremblay" function="master"/>
+  <process host="Tremblay" function="slave"/>
 </platform>
index e30be8a..ea69ac8 100644 (file)
@@ -1,7 +1,5 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-  <!-- The master process (with some arguments) -->
-  <process host="Tremblay" function="master">
-  </process>
+  <process host="Tremblay" function="master"/>
 </platform>
index 5d99c6d..8ff8862 100644 (file)
@@ -1,11 +1,6 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-  <!-- The master process (with some arguments) -->
-  <process host="Tremblay" function="master">
-  </process>
-
-  <!-- The slave processes (with mailbox to listen on as argument) -->
-  <process host="Jupiter" function="slave">
-  </process>
+  <process host="Tremblay" function="master"/>
+  <process host="Jupiter" function="slave"/>
 </platform>
index 92fe4c0..57ab438 100644 (file)
@@ -1,57 +1,23 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="cpu0" speed="1f"/>
-   <host id="cpu1" speed="1f"/>
-   <host id="cpu2" speed="1f"/>
-   <host id="cpu3" speed="1f"/>
-   
-   <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
-   <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-   <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-   <link id="link2" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-   <link id="link3" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-   
-   <route src="cpu0" dst="cpu1">
-     <link_ctn id="link0"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link1"/>
-   </route>
-   <route src="cpu0" dst="cpu2">
-     <link_ctn id="link0"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link2"/>
-   </route>
-   <route src="cpu0" dst="cpu3">
-     <link_ctn id="link0"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link3"/>
-   </route>
-   <route src="cpu1" dst="cpu2">
-     <link_ctn id="link1"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link2"/>
-   </route>
-   <route src="cpu1" dst="cpu3">
-     <link_ctn id="link1"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link3"/>
-   </route>
-   
-   <route src="cpu2" dst="cpu3">
-     <link_ctn id="link2"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link3"/>
-   </route>
- </AS>
- </platform>
+  <AS id="AS0" routing="Full">
+    <host id="cpu0" speed="1f"/>
+    <host id="cpu1" speed="1f"/>
+    <host id="cpu2" speed="1f"/>
+    <host id="cpu3" speed="1f"/>
+
+    <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+    <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+    <link id="link2" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+    <link id="link3" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+
+    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link1"/></route>
+    <route src="cpu0" dst="cpu2"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link2"/></route>
+    <route src="cpu0" dst="cpu3"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link3"/></route>
+    <route src="cpu1" dst="cpu2"><link_ctn id="link1"/><link_ctn id="switch"/><link_ctn id="link2"/></route>
+    <route src="cpu1" dst="cpu3"><link_ctn id="link1"/><link_ctn id="switch"/><link_ctn id="link3"/></route>
+    <route src="cpu2" dst="cpu3"><link_ctn id="link2"/><link_ctn id="switch"/><link_ctn id="link3"/></route>
+  </AS>
+</platform>
index ba2146b..ef7632a 100644 (file)
@@ -1,24 +1,15 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="cpu0" speed="1f" />
-   <host id="cpu1" speed="1f" />
+  <AS id="AS0" routing="Full">
+    <host id="cpu0" speed="1f"/>
+    <host id="cpu1" speed="1f"/>
 
-   <!-- 
-       large latency backbone
-       10000 because
-       20000 is MAX_TCP_WIN_SIZE
-       max bw = MAX_TCP_WIN_SIZE / ( 2 * latency )
-       which is then 1 and 1 is smallest possible
-   -->
+    <!-- large latency backbone 10000 because 20000 is MAX_TCP_WIN_SIZE
+         max bw = MAX_TCP_WIN_SIZE / ( 2 * latency ) which is then 1 and 1 is smallest possible -->
 
-   <link id="link0" bandwidth="2Bps" latency="2.777777777777777777777777778h" sharing_policy="SHARED" />
+    <link id="link0" bandwidth="2Bps" latency="2.777777777777777777777777778h" sharing_policy="SHARED"/>
 
-   <route src="cpu0" dst="cpu1">
-      <link_ctn id="link0" />
-   </route>
- </AS>
- </platform>
+    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/></route>
+  </AS>
+</platform>
index 84860e5..84bf34d 100644 (file)
@@ -1,14 +1,12 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="cpu0" speed="1f"/>
-   <host id="cpu1" speed="1f"/>
-   <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="FATPIPE"/>
-   <route src="cpu0" dst="cpu1">
-     <link_ctn id="link0"/>
-   </route>
- </AS>
- </platform>
+  <AS id="AS0" routing="Full">
+    <host id="cpu0" speed="1f"/>
+    <host id="cpu1" speed="1f"/>
+
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="FATPIPE"/>
+
+    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/></route>
+  </AS>
+</platform>
index b437cc8..53e2f8a 100644 (file)
@@ -1,14 +1,12 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="cpu0" speed="1f"/>
-   <host id="cpu1" speed="1f"/>
-   <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-   <route src="cpu0" dst="cpu1">
-     <link_ctn id="link0"/>
-   </route>
- </AS>
- </platform>
+  <AS  id="AS0"  routing="Full">
+    <host id="cpu0" speed="1f"/>
+    <host id="cpu1" speed="1f"/>
+
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+
+    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/></route>
+  </AS>
+</platform>
index a3ca6c3..bd1e546 100644 (file)
@@ -1,20 +1,14 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="cpu0" speed="1f"/>
-   <host id="cpu1" speed="1f"/>
+  <AS  id="AS0"  routing="Full">
+    <host id="cpu0" speed="1f"/>
+    <host id="cpu1" speed="1f"/>
 
-   <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
-   <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-   <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+    <link id="switch" bandwidth="2Bps" latency="1s" sharing_policy="FATPIPE"/>
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+    <link id="link1" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
 
-   <route src="cpu0" dst="cpu1">
-     <link_ctn id="link0"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link1"/>
-   </route>
+    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/><link_ctn id="switch"/><link_ctn id="link1"/></route>
  </AS>
  </platform>
index fc1d628..771d797 100644 (file)
@@ -1,16 +1,12 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="cpu0" speed="1f"/>
-   <host id="cpu1" speed="1f"/>
-   <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
-   <route src="cpu0" dst="cpu1">
-     <link_ctn id="link0"/>
-   </route>
- </AS>
- </platform>
+  <AS id="AS0" routing="Full">
+    <host id="cpu0" speed="1f"/>
+    <host id="cpu1" speed="1f"/>
+
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED"/>
+
+    <route src="cpu0" dst="cpu1"><link_ctn id="link0"/></route>
+  </AS>
+</platform>
index 2c386de..55805e5 100644 (file)
@@ -1,17 +1,12 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-       <host id="cpu0" speed="1f" />
-       <host id="cpu1" speed="2f" />
-       <link id="link0" bandwidth="1Bps" latency="500ms"
-               sharing_policy="SHARED" />
-       <route src="cpu0" dst="cpu1">
-               <link_ctn id="link0" />
-       </route>
- </AS>
- </platform>
+  <AS  id="AS0"  routing="Full">
+    <host id="cpu0" speed="1f" />
+    <host id="cpu1" speed="2f" />
+
+    <link id="link0" bandwidth="1Bps" latency="500ms" sharing_policy="SHARED" />
+
+     <route src="cpu0" dst="cpu1"><link_ctn id="link0" /></route>
+  </AS>
+</platform>
index 69bc2dc..73140d1 100644 (file)
@@ -47,12 +47,7 @@ set(xml_files
   ${CMAKE_CURRENT_SOURCE_DIR}/two_hosts_multi_hop.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_file.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_multicore.xml
-  ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_foreach.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_fullduplex.xml
-  ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_one_host_random.xml
-  ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_one_host.xml
-  ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_properties_foreach.xml
-  ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_properties_override.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster_router_id.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/one_cluster.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/one_host_availability.xml
@@ -70,7 +65,6 @@ set(xml_files
   ${CMAKE_CURRENT_SOURCE_DIR}/platform_include.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/properties.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/random.xml
-  ${CMAKE_CURRENT_SOURCE_DIR}/route_override.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/test_of_is_router.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/three_hosts_non_symmetric_route.xml
   ${CMAKE_CURRENT_SOURCE_DIR}/two_clusters_one_name.xml
index e64f4bb..8e249d2 100644 (file)
@@ -1,7 +1,3 @@
-! output sort
-$ ${bindir:=.}/simdag/platforms/basic_parsing_test --cfg=path:simdag/platforms one_cluster_properties_override.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
-> [  0.000000] (0:maestro@) Configuration change: Set 'path' to 'simdag/platforms'
-
 ! output sort
 $ ${bindir:=.}/simdag/platforms/basic_parsing_test --cfg=path:simdag/platforms one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
 > [  0.000000] (0:maestro@) Configuration change: Set 'path' to 'simdag/platforms'
index c807446..26bb0d9 100644 (file)
@@ -1,5 +1,5 @@
 ! expect signal SIGABRT
 $ ${bindir:=.}/flatifier bogus_disk_attachment.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
 > [  0.000000] [0:maestro@] Switching to the L07 model to handle parallel tasks.
-> [  0.000000] [0:maestro@] Parse error at bogus_disk_attachment.xml:26: Unable to attach storage cdisk: host plouf doesn't exist.
+> [  0.000000] [0:maestro@] Parse error at bogus_disk_attachment.xml:21: Unable to attach storage cdisk: host plouf doesn't exist.
 > [  0.000000] [0:maestro@] Exiting now
index 3560666..b7c85a2 100644 (file)
@@ -1,15 +1,11 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-
 <!-- THIS FILE IS INVALID.
 
-It declares a storage attached to a nonexistant host (plouf)
-See bogus_disk_attachment.tesh -->
-
+It declares a storage attached to a nonexistant host (plouf). See bogus_disk_attachment.tesh -->
 
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
+<platform version="4">
   <AS id="AS0" routing="Full">
-    <!-- STORAGE TYPES -->
     <storage_type id="single_HDD" model="SSD" size="4kB">
       <model_prop id="Bwrite" value="30MBps" />
       <model_prop id="Bread" value="100MBps" />
@@ -18,7 +14,6 @@ See bogus_disk_attachment.tesh -->
 
     <storage id="cdisk" typeId="single_HDD"  attach="plouf" />
 
-    <!-- HOSTS -->
     <host id="client" speed="1Gf">
       <mount storageId="cdisk" name="/sd1" />
     </host>
index 19387a0..2696ab2 100644 (file)
@@ -2,16 +2,19 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
   <AS id="World" routing="Full">
-     <AS id="us" routing="Full">
-                <cluster id="cluster" suffix=".cluster.us" prefix="node-" radical="1-4" core="24" speed="9.27114e8f" bw="938e6Bps" lat="270us"/>
+    <AS id="us" routing="Full">
+       <cluster id="cluster" suffix=".cluster.us" prefix="node-" radical="1-4" core="24" speed="9.27114e8f"
+                bw="938e6Bps" lat="270us"/>
     </AS>
     <AS id="fr" routing="Full">
-                <cluster id="grappe" suffix=".grappe.fr" prefix="noeud-" radical="1-4" core="24" speed="9.27114e8f" bw="938e6Bps" lat="270us"/>
+       <cluster id="grappe" suffix=".grappe.fr" prefix="noeud-" radical="1-4" core="24" speed="9.27114e8f"
+                bw="938e6Bps" lat="270us"/>
     </AS>
 
     <link id="backbone" bandwidth="1.25GBps" latency="500us"/>
 
-    <ASroute src="us" gw_src="node-cluster_router.cluster.us" dst="fr" gw_dst="neud-grappe_router.grappe.fr" symmetrical="YES">
+    <ASroute src="us" gw_src="node-cluster_router.cluster.us" dst="fr" gw_dst="neud-grappe_router.grappe.fr"
+             symmetrical="YES">
         <link_ctn id="backbone"/>
     </ASroute>
   </AS>
index 0237bad..c46f743 100644 (file)
@@ -1,11 +1,11 @@
 ! expect signal SIGABRT
 $ ${bindir:=.}/flatifier bogus_missing_src_gateway.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
 > [  0.000000] [0:maestro@] Switching to the L07 model to handle parallel tasks.
-> [  0.000000] [0:maestro@] Parse error at bogus_missing_src_gateway.xml:16: gw_src="nod-cluster_router.cluster.us" not found for ASroute from "us" to "fr"
+> [  0.000000] [0:maestro@] Parse error at bogus_missing_src_gateway.xml:19: gw_src="nod-cluster_router.cluster.us" not found for ASroute from "us" to "fr"
 > [  0.000000] [0:maestro@] Exiting now
 
 ! expect signal SIGABRT
 $ ${bindir:=.}/flatifier bogus_missing_dst_gateway.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n"
 > [  0.000000] [0:maestro@] Switching to the L07 model to handle parallel tasks.
-> [  0.000000] [0:maestro@] Parse error at bogus_missing_dst_gateway.xml:16: gw_dst="neud-grappe_router.grappe.fr" not found for ASroute from "us" to "fr"
+> [  0.000000] [0:maestro@] Parse error at bogus_missing_dst_gateway.xml:19: gw_dst="neud-grappe_router.grappe.fr" not found for ASroute from "us" to "fr"
 > [  0.000000] [0:maestro@] Exiting now
index bfc655c..258965c 100644 (file)
@@ -3,15 +3,18 @@
 <platform version="4">
   <AS id="World" routing="Full">
      <AS id="us" routing="Full">
-                <cluster id="cluster" suffix=".cluster.us" prefix="node-" radical="1-4" core="24" speed="9.27114e8f" bw="938e6Bps" lat="270us"/>
-    </AS>
+        <cluster id="cluster" suffix=".cluster.us" prefix="node-" radical="1-4" core="24" speed="9.27114e8f"
+                 bw="938e6Bps" lat="270us"/>
+      </AS>
     <AS id="fr" routing="Full">
-                <cluster id="grappe" suffix=".grappe.fr" prefix="noeud-" radical="1-4" core="24" speed="9.27114e8f" bw="938e6Bps" lat="270us"/>
+        <cluster id="grappe" suffix=".grappe.fr" prefix="noeud-" radical="1-4" core="24" speed="9.27114e8f"
+                 bw="938e6Bps" lat="270us"/>
     </AS>
 
     <link id="backbone" bandwidth="1.25GBps" latency="500us"/>
 
-    <ASroute src="us" gw_src="nod-cluster_router.cluster.us" dst="fr" gw_dst="noeud-grappe_router.grappe.fr" symmetrical="YES">
+    <ASroute src="us" gw_src="nod-cluster_router.cluster.us" dst="fr" gw_dst="noeud-grappe_router.grappe.fr" 
+             symmetrical="YES">
         <link_ctn id="backbone"/>
     </ASroute>
   </AS>
index 3312ba1..10c9d3b 100644 (file)
@@ -1,29 +1,21 @@
-
 <!-- THIS FILE IS INVALID.
 
 It declares a route alice->bob and another bob->alice, both being different.
-It is used to check that this (bogus) file is detected as is (see
-two_hosts_asymetric.tesh) -->
+It is used to check that this (bogus) file is detected as is (see two_hosts_asymetric.tesh) -->
 
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
  <AS  id="AS0"  routing="Full">
-   <host id="bob" speed="1Gf"/>
-   <host id="alice" speed="500Mf"/>
-   <link id="link1" bandwidth="125MBps" latency="50us"/>
-   <link id="link2" bandwidth="125MBps" latency="50us"/>
-   <link id="link3" bandwidth="125MBps" latency="50us"/>
-   <link id="link4" bandwidth="125MBps" latency="50us"/>
-   
-   <route src="bob" dst="alice">
-     <link_ctn id="link1"/><link_ctn id="link2"/><link_ctn id="link4"/>
-   </route>
+    <host id="bob" speed="1Gf"/>
+    <host id="alice" speed="500Mf"/>
 
-   <route src="alice" dst="bob">
-     <link_ctn id="link4"/><link_ctn id="link3"/><link_ctn id="link1"/>
-   </route>
+    <link id="link1" bandwidth="125MBps" latency="50us"/>
+    <link id="link2" bandwidth="125MBps" latency="50us"/>
+    <link id="link3" bandwidth="125MBps" latency="50us"/>
+    <link id="link4" bandwidth="125MBps" latency="50us"/>
 
- </AS>
- </platform>
+   <route src="bob"   dst="alice"><link_ctn id="link1"/><link_ctn id="link2"/><link_ctn id="link4"/></route>
+   <route src="alice" dst="bob">  <link_ctn id="link4"/><link_ctn id="link3"/><link_ctn id="link1"/></route>
+  </AS>
+</platform>
index 5218783..83c23c3 100644 (file)
@@ -1,27 +1,20 @@
-
 <!-- THIS FILE IS INVALID.
 
 It declares a route alice->bob and another bob->alice, both being different.
-It is used to check that this (bogus) file is detected as is (see
-two_hosts_asymetric.tesh) -->
+It is used to check that this (bogus) file is detected as is (see two_hosts_asymetric.tesh) -->
 
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="bob" speed="1Gf"/>
-   <host id="alice" speed="500Mf"/>
 <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="1Gf"/>
+    <host id="alice" speed="500Mf"/>
+
    <link id="link1" bandwidth="125MBps" latency="50us"/>
    <link id="link2" bandwidth="125MBps" latency="50us"/>
-   
-   <route src="bob" dst="alice">
-     <link_ctn id="link1"/>
-   </route>
 
-   <route src="alice" dst="bob">
-     <link_ctn id="link2"/>
-   </route>
+   <route src="bob" dst="alice"><link_ctn id="link1"/></route>
 
- </AS>
- </platform>
+   <route src="alice" dst="bob"><link_ctn id="link2"/></route>
+  </AS>
+</platform>
index ab96c62..ad7bcdf 100644 (file)
@@ -1,5 +1,4 @@
 <AS id="ASA" routing="Full">
-  <cluster id="clusterA" prefix="A" suffix=".hamburger.edu"
-   radical="0,2-4,6" power="1Gf" bw="125MBps" lat="50us"
-   bb_bw="2.25GBps" bb_lat="500us"/>
+  <cluster id="clusterA" prefix="A" suffix=".hamburger.edu" radical="0,2-4,6" power="1Gf" bw="125MBps" lat="50us"
+           bb_bw="2.25GBps" bb_lat="500us"/>
 </AS>
index 6b7aa4a..58ca334 100644 (file)
@@ -1,32 +1,20 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Dijkstra">
-       <host id="host1" speed="1Gf"/>
-       <host id="host2" speed="1Gf"/>
-       <host id="host3" speed="1Gf"/>
-       <host id="host4" speed="1Gf"/>
-       <link id="link1" bandwidth="125GBps" latency="50us"/>
-       <link id="link2" bandwidth="125MBps" latency="5us"/>
-       <link id="link3" bandwidth="125kBps" latency="500ns"/>
-       <link id="link4" bandwidth="125Bps" latency="5ns"/>  
-        
-   <route src="host1" dst="host2" symmetrical="NO">
-     <link_ctn id="link1"/>
-   </route>
-   <route src="host2" dst="host1" symmetrical="NO">
-     <link_ctn id="link1"/>
-   </route> 
-   
-   <route src="host1" dst="host3" symmetrical="NO">
-     <link_ctn id="link2"/>
-   </route>
-   <route src="host3" dst="host1" symmetrical="NO">
-     <link_ctn id="link2"/>
-   </route>
-   
- </AS>
- </platform>
+  <AS  id="AS0"  routing="Dijkstra">
+    <host id="host1" speed="1Gf"/>
+    <host id="host2" speed="1Gf"/>
+    <host id="host3" speed="1Gf"/>
+    <host id="host4" speed="1Gf"/>
+
+    <link id="link1" bandwidth="125GBps" latency="50us"/>
+    <link id="link2" bandwidth="125MBps" latency="5us"/>
+    <link id="link3" bandwidth="125kBps" latency="500ns"/>
+    <link id="link4" bandwidth="125Bps" latency="5ns"/>  
+
+    <route src="host1" dst="host2" symmetrical="NO"><link_ctn id="link1"/></route>
+    <route src="host2" dst="host1" symmetrical="NO"><link_ctn id="link1"/></route> 
+    <route src="host1" dst="host3" symmetrical="NO"><link_ctn id="link2"/></route>
+    <route src="host3" dst="host1" symmetrical="NO"><link_ctn id="link2"/></route>
+  </AS>
+</platform>
index baddb55..b9054e2 100644 (file)
@@ -1,34 +1,20 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Floyd">
-       <host id="host1" speed="1Gf"/>
-       <host id="host2" speed="1Gf"/>
-       <host id="host3" speed="1Gf"/>
-       <host id="host4" speed="1Gf"/>
-       <link id="link1" bandwidth="125MBps" latency="50us"/>
-       <link id="link2" bandwidth="125MBps" latency="50us"/>
-       <link id="link3" bandwidth="125MBps" latency="50us"/>
-       <link id="link4" bandwidth="125MBps" latency="50us"/>  
-        
-   <route src="host1" dst="host2">
-     <link_ctn id="link1"/>
-   </route>
-      
-   <route src="host1" dst="host3">
-     <link_ctn id="link2"/>
-   </route>
-   
-   <route src="host2" dst="host3">
-     <link_ctn id="link3"/>
-   </route>
-      
-   <route src="host3" dst="host4">
-     <link_ctn id="link4"/>
-   </route>
+  <AS  id="AS0"  routing="Floyd">
+    <host id="host1" speed="1Gf"/>
+    <host id="host2" speed="1Gf"/>
+    <host id="host3" speed="1Gf"/>
+    <host id="host4" speed="1Gf"/>
 
- </AS>
- </platform>
+    <link id="link1" bandwidth="125MBps" latency="50us"/>
+    <link id="link2" bandwidth="125MBps" latency="50us"/>
+    <link id="link3" bandwidth="125MBps" latency="50us"/>
+    <link id="link4" bandwidth="125MBps" latency="50us"/>  
+
+    <route src="host1" dst="host2"><link_ctn id="link1"/></route>
+    <route src="host1" dst="host3"><link_ctn id="link2"/></route>
+    <route src="host2" dst="host3"><link_ctn id="link3"/></route>
+    <route src="host3" dst="host4"><link_ctn id="link4"/></route>
+  </AS>
+</platform>
index f473bdf..c93c4e2 100644 (file)
@@ -1,45 +1,25 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Floyd">
-       <host id="host1" speed="1Gf"/>
-       <host id="host2" speed="1Gf"/>
-       <host id="host3" speed="1Gf"/>
-       <host id="host4" speed="1Gf"/>
-       <host id="host5" speed="1Gf"/>
-       <link id="link1" bandwidth="125MBps" latency="50us"/>
-       <link id="link2" bandwidth="125MBps" latency="50us"/>
-       <link id="link3" bandwidth="125MBps" latency="50us"/>
-       <link id="link4" bandwidth="125MBps" latency="50us"/>  
-       <link id="link5" bandwidth="125MBps" latency="50us"/>
-       <link id="link6" bandwidth="125MBps" latency="50us"/> 
-        
-   <route src="host1" dst="host2">
-     <link_ctn id="link1"/>
-   </route>
-      
-   <route src="host1" dst="host3">
-     <link_ctn id="link2"/>
-   </route>
-   
-   <route src="host2" dst="host3">
-     <link_ctn id="link3"/>
-   </route>
-      
-   <route src="host3" dst="host4">
-     <link_ctn id="link4"/>
-   </route>
-   
-   <route src="host2" dst="host5">
-     <link_ctn id="link5"/>
-   </route>
-      
-   <route src="host3" dst="host5">
-     <link_ctn id="link6"/>
-   </route>
+  <AS  id="AS0"  routing="Floyd">
+    <host id="host1" speed="1Gf"/>
+    <host id="host2" speed="1Gf"/>
+    <host id="host3" speed="1Gf"/>
+    <host id="host4" speed="1Gf"/>
+    <host id="host5" speed="1Gf"/>
 
- </AS>
- </platform>
+    <link id="link1" bandwidth="125MBps" latency="50us"/>
+    <link id="link2" bandwidth="125MBps" latency="50us"/>
+    <link id="link3" bandwidth="125MBps" latency="50us"/>
+    <link id="link4" bandwidth="125MBps" latency="50us"/>  
+    <link id="link5" bandwidth="125MBps" latency="50us"/>
+    <link id="link6" bandwidth="125MBps" latency="50us"/> 
+
+    <route src="host1" dst="host2"><link_ctn id="link1"/></route>
+    <route src="host1" dst="host3"><link_ctn id="link2"/></route>
+    <route src="host2" dst="host3"><link_ctn id="link3"/></route>
+    <route src="host3" dst="host4"><link_ctn id="link4"/></route>
+    <route src="host2" dst="host5"><link_ctn id="link5"/></route>
+    <route src="host3" dst="host5"><link_ctn id="link6"/></route>
+  </AS>
+</platform>
index 2b91928..bf2c664 100644 (file)
@@ -1,30 +1,19 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
+  <AS  id="AS0"  routing="Floyd">
+    <host id="host1" speed="1Gf"/>
+    <host id="host2" speed="1Gf"/>
+    <host id="host3" speed="1Gf"/>
+    <host id="host4" speed="1Gf"/>
  
- <AS  id="AS0"  routing="Floyd">
-       <host id="host1" speed="1Gf"/>
-       <host id="host2" speed="1Gf"/>
-       <host id="host3" speed="1Gf"/>
-       <host id="host4" speed="1Gf"/>
-       <link id="link1" bandwidth="125GBps" latency="50us"/>
-       <link id="link2" bandwidth="125MBps" latency="5us"/>
-       <link id="link3" bandwidth="125kBps" latency="500ns"/>
-       <link id="link4" bandwidth="1.25kBps" latency="5ns"/>  
-        
-   <route src="host1" dst="host2">
-     <link_ctn id="link1"/>
-   </route>
-   
-   <route src="host2" dst="host3">
-     <link_ctn id="link3"/>
-   </route>
-      
-   <route src="host3" dst="host4">
-     <link_ctn id="link4"/>
-   </route>
+    <link id="link1" bandwidth="125GBps" latency="50us"/>
+    <link id="link2" bandwidth="125MBps" latency="5us"/>
+    <link id="link3" bandwidth="125kBps" latency="500ns"/>
+    <link id="link4" bandwidth="1.25kBps" latency="5ns"/>  
 
- </AS>
- </platform>
+    <route src="host1" dst="host2"><link_ctn id="link1"/></route>
+    <route src="host2" dst="host3"><link_ctn id="link3"/></route>
+    <route src="host3" dst="host4"><link_ctn id="link4"/></route>
+  </AS>
+</platform>
index bc98da5..49a4694 100644 (file)
@@ -2,8 +2,7 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
 <AS id="AS0" routing="Full">
-  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-   radical="0,2-4,6" speed="1Gf" bw="125MBps" lat="50us"
-   bb_bw="2.25GBps" bb_lat="500us"/>
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0,2-4,6" speed="1Gf" bw="125MBps" lat="50us"
+           bb_bw="2.25GBps" bb_lat="500us"/>
 </AS>
 </platform>
index 9b1da80..5dc8190 100644 (file)
@@ -2,10 +2,8 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
 <AS id="AS0" routing="Full">
-  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-   radical="0,2" speed="1Gf" bw="125MBps" lat="50us"
-   bb_bw="2.25GBps" bb_lat="500us"
-   state_file="${prefix}${radical}_state_file.trace"
-   availability_file="${prefix}${radical}_availability_file.trace"/>
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0,2" speed="1Gf" bw="125MBps" lat="50us"
+           bb_bw="2.25GBps" bb_lat="500us" state_file="${prefix}${radical}_state_file.trace"
+           availability_file="${prefix}${radical}_availability_file.trace"/>
 </AS>
 </platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_foreach.xml b/teshsuite/simdag/platforms/one_cluster_foreach.xml
deleted file mode 100644 (file)
index ee1efe1..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
- <AS  id="AS0"  routing="Full">
-   <set id="myCluster" prefix="bob" suffix=".hamburger.edu"
-        radical="0,2-4,6"/>
-   <foreach set_id="myCluster">
-     <host id="$1" speed="1Gf"/>
-     <link id="$1" bandwidth="125MBps" latency="50us"/>
-   </foreach>
-   <link id="bob_backbone" bandwidth="2.25GBps" latency="500us"
-       sharing_policy="FATPIPE"/>
-  
-   <route:multi src="myCluster" dst="myCluster" symmetric="NO">
-     <link_ctn id="$src"/>
-     <link_ctn id="bob_backbone"/>
-     <link_ctn id="$dst"/>
-   </route:multi>
- </AS>
- </platform>
index 0c1d189..543f7f7 100644 (file)
@@ -2,9 +2,7 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
 <AS id="AS0" routing="Full">
-  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-   radical="0,2-4,6" speed="1Gf" bw="125MBps" lat="50us"
-   bb_bw="2.25GBps" bb_lat="500us"
-   sharing_policy="FULLDUPLEX"/>
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0,2-4,6" speed="1Gf" bw="125MBps" lat="50us"
+   bb_bw="2.25GBps" bb_lat="500us" sharing_policy="FULLDUPLEX"/>
 </AS>
 </platform>
index 7019743..589aa15 100644 (file)
@@ -2,7 +2,7 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
 <AS id="AS0" routing="Full">
-  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-   radical="0,2-4,6" speed="1Gf" core="6" bw="125MBps" lat="50us"/>
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0,2-4,6" speed="1Gf" core="6" 
+           bw="125MBps" lat="50us"/>
 </AS>
 </platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_one_host.xml b/teshsuite/simdag/platforms/one_cluster_one_host.xml
deleted file mode 100644 (file)
index 36e32af..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
- <AS  id="AS0"  routing="Full">
-   <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-          radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
-          bb_bw="2.25GBps" bb_lat="500us"/>
-   <host id="trudy" speed="250Mf"/>
-   <link id="backbone" bandwidth="1.25GBps" latency="500us"/>
-   <route:multi src="bob_cluster" dst="trudy" symmetric="YES">
-     <link_ctn id="backbone"/>
-   </route:multi>
- </AS>
- </platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_one_host_random.xml b/teshsuite/simdag/platforms/one_cluster_one_host_random.xml
deleted file mode 100644 (file)
index e1cae6d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <random id="myRandomGenerator" generator="DRAND48"
-         min="1000000000" max="2000000000" mean="1600000000"
-         std_deviation="12"/>
-
-  <set id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-       radical="0-3"/>
-
-  <host id="bob" speed="$rand(myRandomGenerator)"/>
-  
-  <foreach set_id="bob_cluster">
-    <host id="$1" speed="$rand(myRandomGenerator)"/>
-    <link id="$1" bandwidth="125MBps" latency="50us"/>
-  </foreach>
-   </AS>
- </platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_properties_foreach.xml b/teshsuite/simdag/platforms/one_cluster_properties_foreach.xml
deleted file mode 100644 (file)
index c1eee1e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-  <set id="myCluster" prefix="bob" suffix=".hamburger.edu"
-       radical="0,2-4,6"/>
-
-  <foreach set_id="myCluster">
-    <host id="$1" speed="1Gf">
-      <prop id="cores" value="2"/>
-      <prop id="os" value="Linux"/>
-    </host>
-    <link id="$1" bandwidth="125MBps" latency="50us"/>
-  </foreach>
-</platform>
diff --git a/teshsuite/simdag/platforms/one_cluster_properties_override.xml b/teshsuite/simdag/platforms/one_cluster_properties_override.xml
deleted file mode 100644 (file)
index 2984947..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
-  <set id="myCluster" prefix="bob" suffix=".hamburger.edu"
-       radical="0,2-4,6"/>
-
-  <foreach set_id="myCluster">
-    <host id="$1" speed="1Gf">
-      <prop id="cores" value="2"/>
-      <prop id="os" value="Linux"/>
-    </host>
-    <link id="$1" bandwidth="125MBps" latency="50us"/>
-  </foreach>
-
-  <host id="bob0.hamburger.edu" speed="1Gf">
-    <prop id="cores" value="4"/>
-  </host>
-</platform>
index 8c71e60..5111016 100644 (file)
@@ -2,8 +2,7 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
 <AS id="AS0" routing="Full">
-  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-   radical="0,2-4,6" speed="1Gf" bw="125MBps" lat="50us"
-   bb_bw="2.25GBps" bb_lat="500us" router_id="bob_cluster_router"/>
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0,2-4,6" speed="1Gf" bw="125MBps" lat="50us"
+           bb_bw="2.25GBps" bb_lat="500us" router_id="bob_cluster_router"/>
 </AS>
 </platform>
index dd3b87f..9d07959 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"/>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="500Mf"/>
   </AS>
 </platform>
index 221276b..7845c7d 100644 (file)
@@ -1,8 +1,7 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"
-        availability_file="bob.trace"/>
-               </AS>
+<AS  id="AS0"  routing="Full">
+  <host id="bob" speed="500Mf" availability_file="bob.trace"/>
+</AS>
 </platform>
index 89b2fe2..3691ccd 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
+<AS  id="AS0"  routing="Full">
   <host id="bob" speed="1Gf">
     <prop id="memory" value="1000000000"/>
     <prop id="disk" value="80E9"/>
     <prop id="OS" value="Linux 2.6.22-14"/>
   </host>
-  </AS>
+</AS>
 </platform>
index 6a2ae11..b2402d9 100644 (file)
@@ -1,8 +1,7 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"
-        state_file="bob.fail"/>
-               </AS>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="500Mf" state_file="bob.fail"/>
+  </AS>
 </platform>
index 447b656..07aa26b 100644 (file)
@@ -1,8 +1,7 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"
-        state="OFF"/>
-               </AS>
+  <AS  id="AS0"  routing="Full">
+     <host id="bob" speed="500Mf" state="OFF"/>
+  </AS>
 </platform>
index 2b94e24..115e742 100644 (file)
@@ -1,8 +1,7 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"
-        state="ON"/>
-               </AS>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="500Mf" state="ON"/>
+  </AS>
 </platform>
index 3b5f62d..081295e 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-<AS  id="AS0"  routing="Full">
-  <host id="bob" speed="1Gf"/>  
-</AS>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="1Gf"/>  
+  </AS>
   <trace id="myTrace" file="bob.trace" periodicity="1.0"/>
   <trace_connect trace="myTrace" element="bob" kind="SPEED"/>
 </platform>
index ac92ef5..b558d30 100644 (file)
@@ -3,7 +3,7 @@
 <platform version="4">
 <AS  id="AS0"  routing="Full">
   <host id="bob" speed="1Gf"/>
-</AS>  
+</AS>
   <trace id="myTrace" periodicity="1.0">
     0.0 1.0
     11.0 0.5
@@ -11,5 +11,4 @@
   </trace>
 
   <trace_connect trace="myTrace" element="bob" kind="SPEED"/>
-
 </platform>
index 32ec770..85dd598 100644 (file)
@@ -1,9 +1,8 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
+<AS  id="AS0"  routing="Full">
   <host id="bob" speed="500Mf"/>
-  <link id="link1" bandwidth="80MBps" latency="100us"
-        bandwidth_file="link1.bw" latency_file="link1.lat"/>
-               </AS>
+  <link id="link1" bandwidth="80MBps" latency="100us" bandwidth_file="link1.bw" latency_file="link1.lat"/>
+</AS>
 </platform>
index c9ca8f2..103a540 100644 (file)
@@ -1,9 +1,8 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"/>
-  <link id="link1" bandwidth="125MBps" latency="50us"
-        sharing_policy="FATPIPE"/>
-               </AS>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="500Mf"/>
+    <link id="link1" bandwidth="125MBps" latency="50us" sharing_policy="FATPIPE"/>
+  </AS>
 </platform>
index a13f343..1b427f0 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"/>
-  <link id="link1" bandwidth="125MBps" latency="50us"/>
-</AS>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="500Mf"/>
+    <link id="link1" bandwidth="125MBps" latency="50us"/>
+  </AS>
 </platform>
index dc50e88..7eeea58 100644 (file)
@@ -1,9 +1,8 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-        <AS  id="AS0"  routing="Full">
-  <host id="bob" speed="500Mf"/>
-  <link id="link1" bandwidth="80MBps" latency="100us"
-        state_file="link1.fail"/>
-               </AS>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="500Mf"/>
+    <link id="link1" bandwidth="80MBps" latency="100us" state_file="link1.fail"/>
+  </AS>
 </platform>
index 326429e..1c172ee 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-       <AS id="main" routing="Full">
-               <include file="clusterA.xml"></include>
-               <include file="clusterB.xml"></include>
-       </AS>
+  <AS id="main" routing="Full">
+    <include file="clusterA.xml"></include>
+    <include file="clusterB.xml"></include>
+  </AS>
 </platform>
index 17c9151..a15bf7a 100644 (file)
@@ -1,16 +1,14 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-       
-<config id="General">
-       <prop id="maxmin/precision" value="0.000010"></prop>
-       <prop id="cpu/optim" value="TI"></prop>
-       <prop id="host/model" value="compound"></prop>
-       <prop id="network/model" value="Vegas"></prop>
-       <prop id="path" value="~/"></prop>
-</config>
-       
-<AS  id="AS0"  routing="Full">
-       <host id="bob" speed="500Mf"/>
-</AS>
+  <config id="General">
+    <prop id="maxmin/precision" value="0.000010"></prop>
+    <prop id="cpu/optim" value="TI"></prop>
+    <prop id="host/model" value="compound"></prop>
+    <prop id="network/model" value="Vegas"></prop>
+    <prop id="path" value="~/"></prop>
+  </config>
+  <AS  id="AS0"  routing="Full">
+     <host id="bob" speed="500Mf"/>
+  </AS>
 </platform>
index 56ef909..573c424 100644 (file)
 
 <!--  tentative de description de variables linéairement corrélées. Ã€ revoir et confirmer... -->
 <random_law_type id="white" type="Gaussion" mean="1000" max="10000"/>
-<random_core_and_power_type 
-id_core="foo" 
-id_power="Core2010" 
-mode="linear" base="NBcore" linear_a="0.5" linear_b="1000" noise="white"/>
+<random_core_and_power_type id_core="foo"id_power="Core2010" mode="linear" base="NBcore" 
+                            linear_a="0.5" linear_b="1000" noise="white"/>
 
 <AS  id="AS0"  routing="Full">
   <!-- Horizontal streams -->
   <host id="foo" speed="123.121kf" state_trace="mystate" availability_trace="mypow_avail"/> 
   <link id="bar" bandwidth=""   bandwidth_trace="mybw" latency_trace="mylat"/>
-  <cluster  id="bob_cluster"
-        prefix="bob"
-        suffix=".hamburger.edu"
-        radical="0-1"
-        speed="100kf"
-        bw=""
-        lat="50us"
-        bb_bw="2.25GBps"
-        bb_lat="500us"
+  <cluster  id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0-1" speed="100kf"
+        bw="" lat="50us" bb_bw="2.25GBps"  bb_lat="500us"
         bw_trace="mybw"
         availability_trace="mywpow_avail"
         state_trace="mystate"
-        />
-        
+   />
+
   <!-- Vertical stream ? -->
-  <peer_set id="peer_home"
-        prefix="home"
-        suffix=".edu"
-        radical="1-10000"
+  <peer_set id="peer_home" prefix="home" suffix=".edu" radical="1-10000"
         speed="CustomPower"
         bw_in_trace="mybw"
         bw_out="CustomBWval"
         lat="50us"
-        />
-   <peer_set 
-     />
-</AS>  
+  />
+  <peer_set/>
+</AS>
 </platform>
diff --git a/teshsuite/simdag/platforms/route_override.xml b/teshsuite/simdag/platforms/route_override.xml
deleted file mode 100644 (file)
index 69495ea..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version='1.0'?>
-<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
-<platform version="4">
- <AS  id="AS0"  routing="Full">
-   <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-          radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
-          bb_bw="2.25GBps" bb_lat="500us"/>
-   <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
-          radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
-          bb_bw="2.25GBps" bb_lat="500us"/>
-   <link id="backbone" bandwidth="1.25GBps" latency="500us"/>
-   <route:multi src="bob_cluster" dst="alice_cluster" symmetric="YES">
-     <link_ctn id="backbone"/>
-     <link_ctn id="$dst"/>
-   </route:multi>
-   <route:multi src="bob0.hamburger.edu" dst="$*" action="OVERRIDE" symmetric="NO">
-     <link_ctn id="$src"/>
-     <link_ctn id="backbone"/>
-     <link_ctn id="$dst"/>
-   </route:multi>
-   <route:multi src="bob0.hamburger.edu" dst="bob_cluster" action="OVERRIDE" symmetric="NO">
-     <link_ctn id="$src"/>
-     <link_ctn id="bob_cluster_bb"/>
-     <link_ctn id="$dst"/>
-   </route:multi>
- </AS>
- </platform>
index 9468a28..3f5d239 100644 (file)
@@ -1,33 +1,31 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-<AS  id="AS"  routing="Full">
-       
-       <AS  id="AS0"  routing="Full">
-          <host id="host01" speed="1Gf"/>
-          <host id="host02" speed="500Mf"/>
-          <router id="router1"/>
-       </AS>
-       <AS  id="AS1"  routing="Floyd">
-          <host id="host03" speed="1Gf"/>
-          <host id="host04" speed="500Mf"/>
-          <router id="router2"/>
-       </AS>
-       <AS  id="AS2"  routing="Dijkstra">
-          <host id="host05" speed="1Gf"/>
-          <host id="host06" speed="500Mf"/>
-          <router id="router3"/>
-          </AS>
-       <AS  id="AS3"  routing="DijkstraCache">
-          <host id="host07" speed="1Gf"/>
-          <host id="host08" speed="500Mf"/>
-          <router id="router4"/>
-       </AS>
-       <AS  id="AS4"  routing="None">
-          <host id="host09" speed="1Gf"/>
-          <host id="host10" speed="500Mf"/>
-          <router id="router5"/>
-       </AS>
-       
-</AS>
+  <AS  id="AS"  routing="Full">
+    <AS  id="AS0"  routing="Full">
+       <host id="host01" speed="1Gf"/>
+       <host id="host02" speed="500Mf"/>
+       <router id="router1"/>
+    </AS>
+    <AS  id="AS1"  routing="Floyd">
+       <host id="host03" speed="1Gf"/>
+       <host id="host04" speed="500Mf"/>
+       <router id="router2"/>
+    </AS>
+    <AS  id="AS2"  routing="Dijkstra">
+       <host id="host05" speed="1Gf"/>
+       <host id="host06" speed="500Mf"/>
+       <router id="router3"/>
+    </AS>
+   <AS  id="AS3"  routing="DijkstraCache">
+       <host id="host07" speed="1Gf"/>
+       <host id="host08" speed="500Mf"/>
+       <router id="router4"/>
+   </AS>
+   <AS  id="AS4"  routing="None">
+       <host id="host09" speed="1Gf"/>
+       <host id="host10" speed="500Mf"/>
+       <router id="router5"/>
+   </AS>
+  </AS>
 </platform>
index 8e1428a..e4e0706 100644 (file)
@@ -1,31 +1,18 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="bob" speed="1Gf"/>
-   <host id="alice" speed="500Mf"/>
-   <host id="trudy" speed="250Mf"/>
-   <link id="link1" bandwidth="125MBps" latency="50us"/>
-   <link id="link2" bandwidth="125MBps" latency="50us"/>
-   <link id="link3" bandwidth="125MBps" latency="50us"/>
-   <route src="bob" dst="alice" symmetrical="NO">
-     <link_ctn id="link1"/>
-   </route>
-   <route src="alice" dst="bob" symmetrical="NO">
-     <link_ctn id="link2"/>
-     <link_ctn id="link3"/>
-   </route>
-   <route src="bob" dst="trudy">
-     <link_ctn id="link2"/>
-   </route>
-   <route src="trudy" dst="alice">
-     <link_ctn id="link3"/>
-   </route>
- </AS>
- </platform>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="1Gf"/>
+    <host id="alice" speed="500Mf"/>
+    <host id="trudy" speed="250Mf"/>
+
+    <link id="link1" bandwidth="125MBps" latency="50us"/>
+    <link id="link2" bandwidth="125MBps" latency="50us"/>
+    <link id="link3" bandwidth="125MBps" latency="50us"/>
+
+   <route src="bob" dst="alice" symmetrical="NO"><link_ctn id="link1"/></route>
+   <route src="alice" dst="bob" symmetrical="NO"><link_ctn id="link2"/><link_ctn id="link3"/></route>
+   <route src="bob" dst="trudy"><link_ctn id="link2"/></route>
+   <route src="trudy" dst="alice"><link_ctn id="link3"/></route>
+  </AS>
+</platform>
index 30d2730..e40b830 100644 (file)
@@ -1,26 +1,17 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-       
- <AS  id="AS0"  routing="Full">
-       
-     <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-           radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
-           bb_bw="2.25GBps" bb_lat="500us"/>
-   
-     <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
-           radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
-           bb_bw="2.25GBps" bb_lat="500us"/>  
-       
+  <AS  id="AS0"  routing="Full">
+    <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
+             bb_bw="2.25GBps" bb_lat="500us"/>
+    <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr" radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
+             bb_bw="2.25GBps" bb_lat="500us"/>  
+
      <link id="backbone" bandwidth="1.25GBps" latency="500us"/>  
-       
-     <ASroute src="bob_cluster" dst="alice_cluster" 
-        gw_src="bobbob_cluster_router.hamburger.edu" 
-        gw_dst="alicealice_cluster_router.crepe.fr">
-               <link_ctn id="backbone"/>
+
+     <ASroute src="bob_cluster" dst="alice_cluster" gw_src="bobbob_cluster_router.hamburger.edu" 
+              gw_dst="alicealice_cluster_router.crepe.fr">
+        <link_ctn id="backbone"/>
      </ASroute>
-     
- </AS>
- </platform>
+  </AS>
+</platform>
index 92b381c..0625fd3 100644 (file)
@@ -2,23 +2,17 @@
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
   <AS id="AS0"  routing="Full">
-
-    <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-             radical="0-1" speed="1Gf" bw="125MBps" lat="50us"
+    <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0-1" speed="1Gf" bw="125MBps" lat="50us"
              bb_bw="2.25GBps" bb_lat="500us"/>
-   
-    <cluster id="bob_cluster_1" prefix="bob" suffix=".hamburger.edu"
-             radical="2-3" speed="1Gf" bw="125MBps" lat="50us"
+
+    <cluster id="bob_cluster_1" prefix="bob" suffix=".hamburger.edu" radical="2-3" speed="1Gf" bw="125MBps" lat="50us"
              bb_bw="2.25GBps" bb_lat="500us"/>
-           
+
     <link id="backbone" bandwidth="1.25GBps" latency="500us"/>  
-   
-    <ASroute src="bob_cluster" 
-             dst="bob_cluster_1" 
-             gw_src="bobbob_cluster_router.hamburger.edu" 
+
+    <ASroute src="bob_cluster" dst="bob_cluster_1" gw_src="bobbob_cluster_router.hamburger.edu" 
              gw_dst="bobbob_cluster_1_router.hamburger.edu">
       <link_ctn id="backbone"/>
-    </ASroute>  
-    
+    </ASroute>
   </AS>
 </platform>
index f5559a1..7c0e117 100644 (file)
@@ -1,32 +1,19 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-       
- <AS  id="AS0"  routing="Full">
-       
-     <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-           radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
-           bb_bw="2.25GBps" bb_lat="500us" router_id="bob_cluster_router"/>
-   
-     <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
-           radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
-           bb_bw="2.25GBps" bb_lat="500us" router_id="alice_cluster_router"/>  
-       
+  <AS  id="AS0"  routing="Full">
+     <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
+              bb_bw="2.25GBps" bb_lat="500us" router_id="bob_cluster_router"/>
+     <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr" radical="0-4" speed="1Gf" bw="125MBps" lat="50us"
+              bb_bw="2.25GBps" bb_lat="500us" router_id="alice_cluster_router"/>  
+
      <link id="backbone" bandwidth="1.25GBps" latency="500us"/>  
-       
-     <ASroute src="bob_cluster" dst="alice_cluster" 
-        gw_src="bob_cluster_router" 
-        gw_dst="alice_cluster_router">
-               <link_ctn id="backbone"/>
+
+     <ASroute src="bob_cluster" dst="alice_cluster" gw_src="bob_cluster_router" gw_dst="alice_cluster_router">
+        <link_ctn id="backbone"/>
      </ASroute>
-        
-     <ASroute src="alice_cluster" dst="bob_cluster" 
-        gw_src="alice_cluster_router" 
-        gw_dst="bob_cluster_router">
-               <link_ctn id="backbone"/>
-     </ASroute>   
-     
- </AS>
- </platform>
+     <ASroute src="alice_cluster" dst="bob_cluster" gw_src="alice_cluster_router" gw_dst="bob_cluster_router">
+        <link_ctn id="backbone"/>
+     </ASroute>
+  </AS>
+</platform>
index 4f29322..9afb8cf 100644 (file)
@@ -1,26 +1,18 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-       
- <AS  id="AS0"  routing="Full">
-       
-     <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
-           radical="0-1" speed="1Gf" bw="125MBps" lat="50us"
-           bb_bw="2.25GBps" bb_lat="500us"/>
-   
-     <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr"
-           radical="0-1" speed="1Gf" bw="125MBps" lat="50us"
-           bb_bw="2.25GBps" bb_lat="500us"/>  
-       
+  <AS  id="AS0"  routing="Full">
+    <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu" radical="0-1" speed="1Gf" bw="125MBps" lat="50us"
+             bb_bw="2.25GBps" bb_lat="500us"/>
+    <cluster id="alice_cluster" prefix="alice" suffix=".crepe.fr" radical="0-1" speed="1Gf" bw="125MBps" lat="50us"
+             bb_bw="2.25GBps" bb_lat="500us"/>  
+
      <link id="backbone" bandwidth="1.25GBps" latency="500us"/>  
-       
-     <ASroute src="bob_cluster" dst="alice_cluster" 
-        gw_src="bobbob_cluster_router.hamburger.edu" 
-        gw_dst="alicealice_cluster_router.crepe.fr"
-        symmetrical="YES">
-               <link_ctn id="backbone"/>
-     </ASroute>        
- </AS>
- </platform>
+
+     <ASroute src="bob_cluster" dst="alice_cluster" gw_src="bobbob_cluster_router.hamburger.edu" 
+              gw_dst="alicealice_cluster_router.crepe.fr" symmetrical="YES">
+        <link_ctn id="backbone"/>
+     </ASroute>
+  </AS>
+</platform>
 
index 63baa3a..5048e04 100644 (file)
@@ -1,21 +1,14 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="bob" speed="1Gf"/>
-   <host id="alice" speed="500Mf"/>
-   <link id="link_bob" bandwidth="125MBps" latency="50us"/>
-   <link id="link_alice" bandwidth="125MBps" latency="50us"/>
-   <link id="switch" bandwidth="125MBps" latency="50us"
-         sharing_policy="FATPIPE"/>
-   <route src="bob" dst="alice">
-     <link_ctn id="link_bob"/>
-     <link_ctn id="switch"/>
-     <link_ctn id="link_alice"/>
-   </route>
- </AS>
- </platform>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="1Gf"/>
+    <host id="alice" speed="500Mf"/>
+
+    <link id="link_bob" bandwidth="125MBps" latency="50us"/>
+    <link id="link_alice" bandwidth="125MBps" latency="50us"/>
+    <link id="switch" bandwidth="125MBps" latency="50us" sharing_policy="FATPIPE"/>
+
+    <route src="bob" dst="alice"><link_ctn id="link_bob"/><link_ctn id="switch"/><link_ctn id="link_alice"/></route>
+  </AS>
+</platform>
index ad75daf..6140f0b 100644 (file)
@@ -1,16 +1,12 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="bob" speed="1Gf"/>
-   <host id="alice" speed="500Mf"/>
-   <link id="link1" bandwidth="125MBps" latency="50us"/>
-   
-   <route src="bob" dst="alice">
-     <link_ctn id="link1"/>
-   </route>
- </AS>
- </platform>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="1Gf"/>
+    <host id="alice" speed="500Mf"/>
+
+    <link id="link1" bandwidth="125MBps" latency="50us"/>
+
+    <route src="bob" dst="alice"><link_ctn id="link1"/></route>
+  </AS>
+</platform>
index 5e7912a..25c944c 100644 (file)
@@ -1,22 +1,13 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="bob" speed="1Gf"/>
-   <host id="alice" speed="500Mf"/>
-   <link id="link1" bandwidth="125MBps" latency="50us"
-   sharing_policy="FULLDUPLEX"/>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="1Gf"/>
+    <host id="alice" speed="500Mf"/>
 
-   <route src="alice" dst="bob" symmetrical="NO">
-     <link_ctn id="link1" direction="UP"/>
-   </route>
-   <route src="bob" dst="alice" symmetrical="NO">
-     <link_ctn id="link1" direction="DOWN"/>
-   </route>
+    <link id="link1" bandwidth="125MBps" latency="50us" sharing_policy="FULLDUPLEX"/>
 
- </AS>
- </platform>
+    <route src="alice" dst="bob" symmetrical="NO"><link_ctn id="link1" direction="UP"/></route>
+    <route src="bob" dst="alice" symmetrical="NO"><link_ctn id="link1" direction="DOWN"/></route>
+  </AS>
+</platform>
index f4fdd24..a0c5550 100644 (file)
@@ -1,21 +1,14 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
- <AS  id="AS0"  routing="Full">
-   <host id="bob" speed="1Gf"/>
-   <host id="alice" speed="500Mf"/>
-   <link id="link1" bandwidth="125MBps" latency="50us"/>
-   <link id="link2" bandwidth="125MBps" latency="50us"/>
-   <link id="link3" bandwidth="125MBps" latency="50us"/>
-   
-   <route src="bob" dst="alice" symmetrical="YES">
-     <link_ctn id="link1"/>
-        <link_ctn id="link2"/>
-        <link_ctn id="link3"/>
-   </route>
+  <AS  id="AS0"  routing="Full">
+    <host id="bob" speed="1Gf"/>
+    <host id="alice" speed="500Mf"/>
 
- </AS>
- </platform>
+    <link id="link1" bandwidth="125MBps" latency="50us"/>
+    <link id="link2" bandwidth="125MBps" latency="50us"/>
+    <link id="link3" bandwidth="125MBps" latency="50us"/>
+
+    <route src="bob" dst="alice" symmetrical="YES"><link_ctn id="link1"/><link_ctn id="link2"/><link_ctn id="link3"/></route>
+  </AS>
+</platform>
index 65b93e4..ea69ac8 100644 (file)
@@ -1,9 +1,5 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-
-  <!-- The master process (with some arguments) -->
-  <process host="Tremblay" function="master">
-  </process>
-
+  <process host="Tremblay" function="master"/>
 </platform>
index 2ea65af..72c5c05 100644 (file)
@@ -1,10 +1,7 @@
 <?xml version='1.0'?>
 <!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid/simgrid.dtd">
 <platform version="4">
-
-  <!-- The hosts -->
   <AS  id="AS0"  routing="Full">
    <host id="Tremblay" speed="98.095Mf"/>
   </AS>
-
 </platform>
index 2f47778..e48cf79 100644 (file)
@@ -764,12 +764,14 @@ endif()
 ### Simgrid Lib sources
 set(simgrid_sources
   ${BINDINGS_SRC}
-  ${S4U_SRC}
+  ${MC_SRC_BASE}
   ${MSG_SRC}
+  ${S4U_SRC}
   ${SIMDAG_SRC}
   ${SIMGRID_SRC}
   ${SIMIX_SRC}
   ${SURF_SRC}
+  ${TRACING_SRC}
   ${XBT_SRC}
   )
 
@@ -792,16 +794,6 @@ if(enable_smpi)
     )
 endif()
 
-set(simgrid_sources
-    ${simgrid_sources}
-    ${TRACING_SRC}
-    )
-
-set(simgrid_sources
-  ${simgrid_sources}
-  ${MC_SRC_BASE}
-  )
-
 if(HAVE_MC)
   set(simgrid_sources
     ${simgrid_sources}