Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a tesh file for gtnets.
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 26 Jun 2008 13:57:23 +0000 (13:57 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 26 Jun 2008 13:57:23 +0000 (13:57 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5837 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/Makefile.am
examples/msg/gtnets/gtnets.tesh [new file with mode: 0644]

index a2e1908..9f7e094 100644 (file)
@@ -47,6 +47,7 @@ if HAVE_SDP
   BROKEN_TESTS = sendrecv/sendrecv_SDP.tesh
 endif
 if HAVE_GTNETS
+  TESTS += gtnets/gtnets.tesh
 endif
 
 CLEANFILES = sendrecv/*~ \
diff --git a/examples/msg/gtnets/gtnets.tesh b/examples/msg/gtnets/gtnets.tesh
new file mode 100644 (file)
index 0000000..0186b41
--- /dev/null
@@ -0,0 +1,18 @@
+#! ./tesh
+
+p Testing simple communication patterns
+
+$ gtnets/gtnets gtnets/onelink-p.xml gtnets/onelink-d.xml 
+> [S1:master:(1) 0.000000] [msg_test/INFO] Send completed (to C1). Transfer time: 0.110000      Agregate bandwidth: 9090.909091
+> [S1:master:(1) 0.000000] [msg_test/INFO] Completed peer: C1 time: 0.110000
+
+$ gtnets/gtnets gtnets/dogbone-p.xml gtnets/dogbone-d.xml 
+> [S1:master:(1) 0.000000] [msg_test/INFO] Send completed (to C1). Transfer time: 150.020000    Agregate bandwidth: 66657.778963
+> [S1:master:(1) 0.000000] [msg_test/INFO] Completed peer: C1 time: 150.020000
+> [S2:master:(2) 50.020000] [msg_test/INFO] Send completed (to C2). Transfer time: 200.040000   Agregate bandwidth: 49990.002000
+> [S2:master:(2) 50.020000] [msg_test/INFO] Completed peer: C2 time: 200.040000
+
+$ gtnets/gtnets gtnets/onelink-p.xml gtnets/onelink-d.xml --cfg=workstation_model=compound --cfg=network_model=GTNets --cfg=cpu_model=Cas01
+$ gtnets/gtnets gtnets/dogbone-p.xml gtnets/dogbone-d.xml --cfg=workstation_model=compound --cfg=network_model=GTNets --cfg=cpu_model=Cas01
+
+