Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add tests for fullduplex and symmetrical
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 27 Oct 2010 10:42:14 +0000 (10:42 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 27 Oct 2010 10:42:14 +0000 (10:42 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8464 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/AddTests.cmake
teshsuite/simdag/platforms/basic_parsing_test_sym_full.tesh [new file with mode: 0644]
teshsuite/simdag/platforms/one_cluster_fullduplex.xml [new file with mode: 0644]
teshsuite/simdag/platforms/two_hosts_one_link_symetrical.xml [new file with mode: 0644]

index 10296ef..75be153 100644 (file)
@@ -89,6 +89,7 @@ ENDIF(${ARCH_32_BITS})
 ADD_TEST(tesh-msg-get_sender   ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite msg/get_sender.tesh)                               
 ADD_TEST(tesh-simdag-reinit_costs      ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite simdag/network/test_reinit_costs.tesh)
 ADD_TEST(tesh-simdag-parser            ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite/simdag/platforms basic_parsing_test.tesh)
+ADD_TEST(tesh-simdag-parser-sym-full           ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite/simdag/platforms basic_parsing_test_sym_full.tesh)
 ADD_TEST(tesh-simdag-flatifier         ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite/simdag/platforms flatifier.tesh)
 ADD_TEST(tesh-simdag-basic0    ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite simdag/basic0.tesh)
 ADD_TEST(tesh-simdag-basic1    ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite simdag/basic1.tesh)
diff --git a/teshsuite/simdag/platforms/basic_parsing_test_sym_full.tesh b/teshsuite/simdag/platforms/basic_parsing_test_sym_full.tesh
new file mode 100644 (file)
index 0000000..50bf497
--- /dev/null
@@ -0,0 +1,330 @@
+#! ./tesh
+$ ./basic_parsing_test one_cluster_fullduplex.xml FULL_LINK
+> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+> Workstation number: 5, link number: 14
+> Route between bob3.hamburger.edu and bob3.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob3.hamburger.edu and bob0.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob3.hamburger.edu and bob2.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob3.hamburger.edu and bob4.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob3.hamburger.edu and bob6.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and bob3.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and bob0.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and bob2.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and bob4.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and bob6.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob2.hamburger.edu and bob3.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob2.hamburger.edu and bob0.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob2.hamburger.edu and bob2.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob2.hamburger.edu and bob4.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob2.hamburger.edu and bob6.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob4.hamburger.edu and bob3.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob4.hamburger.edu and bob0.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob4.hamburger.edu and bob2.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob4.hamburger.edu and bob4.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob4.hamburger.edu and bob6.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob6.hamburger.edu and bob3.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_3_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob6.hamburger.edu and bob0.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob6.hamburger.edu and bob2.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_2_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob6.hamburger.edu and bob4.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_4_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob6.hamburger.edu and bob6.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_6_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+
+$ ./basic_parsing_test two_clusters_symmetric.xml FULL_LINK
+> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+> Workstation number: 4, link number: 10
+> Route between bob1.hamburger.edu and bob1.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob1.hamburger.edu and bob0.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob1.hamburger.edu and alice0.crepe.fr
+>      Route size 7
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between bob1.hamburger.edu and alice1.crepe.fr
+>      Route size 7
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and bob1.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and bob0.hamburger.edu
+>      Route size 3
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and alice0.crepe.fr
+>      Route size 7
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between bob0.hamburger.edu and alice1.crepe.fr
+>      Route size 7
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between alice0.crepe.fr and bob1.hamburger.edu
+>      Route size 7
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between alice0.crepe.fr and bob0.hamburger.edu
+>      Route size 7
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between alice0.crepe.fr and alice0.crepe.fr
+>      Route size 3
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between alice0.crepe.fr and alice1.crepe.fr
+>      Route size 3
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between alice1.crepe.fr and bob1.hamburger.edu
+>      Route size 7
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between alice1.crepe.fr and bob0.hamburger.edu
+>      Route size 7
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_alice_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link backbone: latency = 0.000500, bandwidth = 1250000000.000000
+>      Link bob_cluster_link_bob_cluster_router: latency = 0.000050, bandwidth = 125000000.000000
+>      Link bob_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link bob_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.001700, route bandwidth = 125000000.000000
+> Route between alice1.crepe.fr and alice0.crepe.fr
+>      Route size 3
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_0: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+> Route between alice1.crepe.fr and alice1.crepe.fr
+>      Route size 3
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link alice_cluster_backbone: latency = 0.000500, bandwidth = 2250000000.000000
+>      Link alice_cluster_link_1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000600, route bandwidth = 125000000.000000
+
+$ ./basic_parsing_test two_hosts_one_link_symetrical.xml FULL_LINK
+> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+> Workstation number: 2, link number: 4
+> Route between alice and alice
+>      Route size 1
+>      Link __loopback__: latency = 0.000015, bandwidth = 498000000.000000
+>      Route latency = 0.000015, route bandwidth = 498000000.000000
+> Route between alice and bob
+>      Route size 3
+>      Link link3: latency = 0.000050, bandwidth = 125000000.000000
+>      Link link2: latency = 0.000050, bandwidth = 125000000.000000
+>      Link link1: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000150, route bandwidth = 125000000.000000
+> Route between bob and alice
+>      Route size 3
+>      Link link1: latency = 0.000050, bandwidth = 125000000.000000
+>      Link link2: latency = 0.000050, bandwidth = 125000000.000000
+>      Link link3: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000150, route bandwidth = 125000000.000000
+> Route between bob and bob
+>      Route size 1
+>      Link __loopback__: latency = 0.000015, bandwidth = 498000000.000000
+>      Route latency = 0.000015, route bandwidth = 498000000.000000
+
+$ ./basic_parsing_test two_hosts_one_link_fullduplex.xml FULL_LINK
+> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
+> Workstation number: 2, link number: 3
+> Route between alice and alice
+>      Route size 1
+>      Link __loopback__: latency = 0.000015, bandwidth = 498000000.000000
+>      Route latency = 0.000015, route bandwidth = 498000000.000000
+> Route between alice and bob
+>      Route size 1
+>      Link link1_UP: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000050, route bandwidth = 125000000.000000
+> Route between bob and alice
+>      Route size 1
+>      Link link1_DOWN: latency = 0.000050, bandwidth = 125000000.000000
+>      Route latency = 0.000050, route bandwidth = 125000000.000000
+> Route between bob and bob
+>      Route size 1
+>      Link __loopback__: latency = 0.000015, bandwidth = 498000000.000000
+>      Route latency = 0.000015, route bandwidth = 498000000.000000
\ No newline at end of file
diff --git a/teshsuite/simdag/platforms/one_cluster_fullduplex.xml b/teshsuite/simdag/platforms/one_cluster_fullduplex.xml
new file mode 100644 (file)
index 0000000..ac2c0b4
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "simgrid.dtd">
+<platform version="2">
+<AS id="AS0" routing="Full">
+  <cluster id="bob_cluster" prefix="bob" suffix=".hamburger.edu"
+   radical="0,2-4,6" power="1000000000.00" bw="125000000.00" lat="5e-5"
+   bb_bw="2250000000.00" bb_lat="5e-4"
+   sharing_policy="FULLDUPLEX"/>
+</AS>
+</platform>
diff --git a/teshsuite/simdag/platforms/two_hosts_one_link_symetrical.xml b/teshsuite/simdag/platforms/two_hosts_one_link_symetrical.xml
new file mode 100644 (file)
index 0000000..372e7bc
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version='1.0'?>
+ <!DOCTYPE platform SYSTEM "simgrid.dtd">
+ <platform version="2">
+ <AS  id="AS0"  routing="Full">
+   <host id="bob" power="1000000000"/>
+   <host id="alice" power="500000000"/>
+   <link id="link1" bandwidth="125000000" latency="5E-5"/>
+   <link id="link2" bandwidth="125000000" latency="5E-5"/>
+   <link id="link3" bandwidth="125000000" latency="5E-5"/>
+   
+   <route src="bob" dst="alice" symetrical="YES">
+     <link_ctn id="link1"/>
+        <link_ctn id="link2"/>
+        <link_ctn id="link3"/>
+   </route>
+
+ </AS>
+ </platform>