X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07c319ec54d6fc778ee3cc5e75a747242006723e..e99158dd85fe789ea5e1a40c29f196fa6c715bcf:/examples/msg/actions/actions.tesh?ds=sidebyside diff --git a/examples/msg/actions/actions.tesh b/examples/msg/actions/actions.tesh index 632a2bf0ba..0873dae249 100644 --- a/examples/msg/actions/actions.tesh +++ b/examples/msg/actions/actions.tesh @@ -1,81 +1,91 @@ # A little tesh file testing most MPI-related actions +! output sort 19 +$ ${bindir:=.}/actions --log=actions.thres=verbose ${srcdir:=.}/../../platforms/small_platform_fatpipe.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> WARNING: THIS BINARY IS KINDA DEPRECATED +> This example is still relevant if you want to learn about MSG-based trace replay, but if you want to simulate MPI-like traces, you should use the newer version that is in the examples/smpi/replay directory instead. +> [ 20.703314] (1:p0@Tremblay) p0 recv p1 20.703314 +> [ 20.703314] (2:p1@Ruby) p1 send p0 1e10 20.703314 +> [ 20.703314] (1:p0@Tremblay) p0 compute 12 0.000000 +> [ 32.703314] (2:p1@Ruby) p1 sleep 12 12.000000 +> [ 32.703314] (0:maestro@) Simulation time 32.7033 -! output sort -$ ./actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n -> [500.005200] (1:p0@host0) p0 recv p1 500.005200 -> [500.005200] (2:p1@host1) p1 send p0 1e10 500.005200 -> [500.005201] (1:p0@host0) p0 compute 12 0.000001 -> [512.005200] (0:@) Simulation time 512.005 -> [512.005200] (2:p1@host1) p1 sleep 12 12.000000 +! output sort 19 +$ ${bindir:=.}/actions --log=actions.thres=verbose ${srcdir:=.}/../../platforms/small_platform_fatpipe.xml deployment.xml actions_allReduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> WARNING: THIS BINARY IS KINDA DEPRECATED +> This example is still relevant if you want to learn about MSG-based trace replay, but if you want to simulate MPI-like traces, you should use the newer version that is in the examples/smpi/replay directory instead. +> [ 0.000000] (1:p0@Tremblay) p0 comm_size 3 0.000000 +> [ 7.171139] (2:p1@Ruby) p1 allReduce 5e8 5e8 7.171139 +> [ 7.171139] (3:p2@Perl) p2 allReduce 5e8 5e8 7.171139 +> [ 7.171139] (1:p0@Tremblay) p0 allReduce 5e8 5e8 7.171139 +> [ 12.268239] (2:p1@Ruby) p1 compute 5e8 5.097100 +> [ 12.268239] (1:p0@Tremblay) p0 compute 5e8 5.097100 +> [ 12.268239] (3:p2@Perl) p2 compute 5e8 5.097100 +> [ 12.268239] (0:maestro@) Simulation time 12.2682 -! output sort -$ ./actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_allReduce.txt --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n -> [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000 -> [100.015912] (2:p1@host1) p1 allReduce 5e8 5e8 100.015912 -> [100.021112] (1:p0@host0) p0 allReduce 5e8 5e8 100.021112 -> [100.021112] (3:p2@host2) p2 allReduce 5e8 5e8 100.021112 -> [150.015912] (2:p1@host1) p1 compute 5e8 50.000000 -> [150.021112] (0:@) Simulation time 150.021 -> [150.021112] (1:p0@host0) p0 compute 5e8 50.000000 -> [150.021112] (3:p2@host2) p2 compute 5e8 50.000000 +! output sort 19 +$ ${bindir:=.}/actions --log=actions.thres=verbose ${srcdir:=.}/../../platforms/small_platform_fatpipe.xml deployment.xml actions_barrier.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> WARNING: THIS BINARY IS KINDA DEPRECATED +> This example is still relevant if you want to learn about MSG-based trace replay, but if you want to simulate MPI-like traces, you should use the newer version that is in the examples/smpi/replay directory instead. +> [ 0.000000] (1:p0@Tremblay) p0 comm_size 3 0.000000 +> [ 0.000000] (2:p1@Ruby) p1 comm_size 3 0.000000 +> [ 0.000000] (3:p2@Perl) p2 comm_size 3 0.000000 +> [ 0.022653] (2:p1@Ruby) p1 recv p0 0.022653 +> [ 0.022653] (1:p0@Tremblay) p0 send p1 1E7 0.022653 +> [ 0.063430] (3:p2@Perl) p2 compute 4E6 0.040777 +> [ 0.063430] (2:p1@Ruby) p1 compute 4E6 0.040777 +> [ 0.068527] (1:p0@Tremblay) p0 compute 4.5E6 0.045874 +> [ 0.068527] (0:maestro@) Simulation time 0.0685268 -! output sort -$ ./actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_barrier.txt --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n -> [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000 -> [ 0.000000] (2:p1@host1) p1 comm_size 3 0.000000 -> [ 0.000000] (3:p2@host2) p2 comm_size 3 0.000000 -> [ 0.505200] (1:p0@host0) p0 send p1 1E7 0.505200 -> [ 0.505200] (2:p1@host1) p1 recv p0 0.505200 -> [ 0.905200] (2:p1@host1) p1 compute 4E6 0.400000 -> [ 0.905200] (3:p2@host2) p2 compute 4E6 0.400000 -> [ 0.955200] (0:@) Simulation time 0.9552 -> [ 0.955200] (1:p0@host0) p0 compute 4.5E6 0.450000 +! output sort 19 +$ ${bindir:=.}/actions --log=actions.thres=verbose ${srcdir:=.}/../../platforms/small_platform_fatpipe.xml deployment.xml actions_bcast.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> WARNING: THIS BINARY IS KINDA DEPRECATED +> This example is still relevant if you want to learn about MSG-based trace replay, but if you want to simulate MPI-like traces, you should use the newer version that is in the examples/smpi/replay directory instead. +> [ 0.000000] (1:p0@Tremblay) p0 comm_size 3 0.000000 +> [ 1.037020] (2:p1@Ruby) p1 bcast 5e8 1.037020 +> [ 1.037020] (3:p2@Perl) p2 bcast 5e8 1.037020 +> [ 1.037020] (1:p0@Tremblay) p0 bcast 5e8 1.037020 +> [ 3.075860] (2:p1@Ruby) p1 compute 2e8 2.038840 +> [ 6.134119] (1:p0@Tremblay) p0 compute 5e8 5.097100 +> [ 6.134119] (3:p2@Perl) p2 compute 5e8 5.097100 +> [ 7.171139] (2:p1@Ruby) p1 bcast 5e8 4.095279 +> [ 7.171139] (3:p2@Perl) p2 bcast 5e8 1.037020 +> [ 7.171139] (1:p0@Tremblay) p0 bcast 5e8 1.037020 +> [ 9.209979] (2:p1@Ruby) p1 compute 2e8 2.038840 +> [ 12.268239] (1:p0@Tremblay) p0 compute 5e8 5.097100 +> [ 12.268239] (3:p2@Perl) p2 compute 5e8 5.097100 +> [ 13.305258] (2:p1@Ruby) p1 reduce 5e8 5e8 4.095279 +> [ 13.305258] (3:p2@Perl) p2 reduce 5e8 5e8 1.037020 +> [ 18.402358] (1:p0@Tremblay) p0 reduce 5e8 5e8 6.134119 +> [ 18.402358] (0:maestro@) Simulation time 18.4024 -! output sort -$ ./actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_bcast.txt --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n -> [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000 -> [ 25.010400] (2:p1@host1) p1 bcast 5e8 25.010400 -> [ 25.015600] (1:p0@host0) p0 bcast 5e8 25.015600 -> [ 25.015600] (3:p2@host2) p2 bcast 5e8 25.015600 -> [ 45.010400] (2:p1@host1) p1 compute 2e8 20.000000 -> [ 75.015600] (1:p0@host0) p0 compute 5e8 50.000000 -> [ 75.015600] (3:p2@host2) p2 compute 5e8 50.000000 -> [100.026000] (2:p1@host1) p1 bcast 5e8 55.015600 -> [100.031200] (1:p0@host0) p0 bcast 5e8 25.015600 -> [100.031200] (3:p2@host2) p2 bcast 5e8 25.015600 -> [120.026000] (2:p1@host1) p1 compute 2e8 20.000000 -> [150.031200] (1:p0@host0) p0 compute 5e8 50.000000 -> [150.031200] (3:p2@host2) p2 compute 5e8 50.000000 -> [175.036400] (2:p1@host1) p1 reduce 5e8 5e8 55.010400 -> [175.036400] (3:p2@host2) p2 reduce 5e8 5e8 25.005200 -> [225.036712] (0:@) Simulation time 225.037 -> [225.036712] (1:p0@host0) p0 reduce 5e8 5e8 75.005512 - -! output sort -$ ./actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_reduce.txt --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n -> [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000 -> [ 25.005200] (2:p1@host1) p1 reduce 5e8 5e8 25.005200 -> [ 25.005200] (3:p2@host2) p2 reduce 5e8 5e8 25.005200 -> [ 75.005200] (2:p1@host1) p1 compute 5e8 50.000000 -> [ 75.005200] (3:p2@host2) p2 compute 5e8 50.000000 -> [ 75.005512] (1:p0@host0) p0 reduce 5e8 5e8 75.005512 -> [125.005512] (0:@) Simulation time 125.006 -> [125.005512] (1:p0@host0) p0 compute 5e8 50.000000 - -! output sort -$ ./actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_with_isend.txt --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n -> [ 0.000000] (2:p1@host1) p1 Irecv p0 0.000000 -> [ 0.000000] (3:p2@host2) p2 Irecv p1 0.000000 -> [ 50.000000] (3:p2@host2) p2 compute 5e8 50.000000 -> [ 50.005200] (1:p0@host0) p0 send p1 1e9 50.005200 -> [100.000000] (2:p1@host1) p1 compute 1e9 100.000000 -> [100.000156] (2:p1@host1) p1 wait 0.000156 -> [150.005200] (1:p0@host0) p0 compute 1e9 100.000000 -> [150.005356] (2:p1@host1) p1 send p2 1e9 50.005200 -> [150.005512] (3:p2@host2) p2 wait 100.005512 -> [150.005512] (3:p2@host2) p2 Isend p0 1e9 0.000000 -> [200.005512] (3:p2@host2) p2 compute 5e8 50.000000 -> [200.010712] (0:@) Simulation time 200.011 -> [200.010712] (1:p0@host0) p0 recv p2 50.005512 +! output sort 19 +$ ${bindir:=.}/actions --log=actions.thres=verbose ${srcdir:=.}/../../platforms/small_platform_fatpipe.xml deployment.xml actions_reduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> WARNING: THIS BINARY IS KINDA DEPRECATED +> This example is still relevant if you want to learn about MSG-based trace replay, but if you want to simulate MPI-like traces, you should use the newer version that is in the examples/smpi/replay directory instead. +> [ 0.000000] (1:p0@Tremblay) p0 comm_size 3 0.000000 +> [ 1.037020] (2:p1@Ruby) p1 reduce 5e8 5e8 1.037020 +> [ 1.037020] (3:p2@Perl) p2 reduce 5e8 5e8 1.037020 +> [ 6.134119] (2:p1@Ruby) p1 compute 5e8 5.097100 +> [ 6.134119] (1:p0@Tremblay) p0 reduce 5e8 5e8 6.134119 +> [ 6.134119] (3:p2@Perl) p2 compute 5e8 5.097100 +> [ 11.231219] (1:p0@Tremblay) p0 compute 5e8 5.097100 +> [ 11.231219] (0:maestro@) Simulation time 11.2312 +! output sort 19 +$ ${bindir:=.}/actions --log=actions.thres=verbose ${srcdir:=.}/../../platforms/small_platform_fatpipe.xml deployment.xml actions_with_isend.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> WARNING: THIS BINARY IS KINDA DEPRECATED +> This example is still relevant if you want to learn about MSG-based trace replay, but if you want to simulate MPI-like traces, you should use the newer version that is in the examples/smpi/replay directory instead. +> [ 0.000000] (2:p1@Ruby) p1 Irecv p0 0.000000 +> [ 0.000000] (3:p2@Perl) p2 Irecv p1 0.000000 +> [ 2.072088] (1:p0@Tremblay) p0 send p1 1e9 2.072088 +> [ 5.097100] (3:p2@Perl) p2 compute 5e8 5.097100 +> [ 10.194200] (2:p1@Ruby) p1 compute 1e9 10.194200 +> [ 10.194200] (2:p1@Ruby) p1 wait 0.000000 +> [ 12.266287] (1:p0@Tremblay) p0 compute 1e9 10.194200 +> [ 12.266287] (3:p2@Perl) p2 wait 7.169187 +> [ 12.266287] (2:p1@Ruby) p1 send p2 1e9 2.072088 +> [ 12.266287] (3:p2@Perl) p2 Isend p0 1e9 0.000000 +> [ 14.338375] (1:p0@Tremblay) p0 recv p2 2.072088 +> [ 17.363387] (3:p2@Perl) p2 compute 5e8 5.097100 +> [ 17.363387] (0:maestro@) Simulation time 17.3634