Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use cat+here document, instead of non-portable echo -e.
[simgrid.git] / examples / msg / actions / actions.tesh
1 # A little tesh file testing most MPI-related actions
2
3 ! output sort
4 $ ${bindir:=.}/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
5 > [ 10.831247] (1:p0@host0) p0 recv p1 10.831247
6 > [ 10.831247] (2:p1@host1) p1 send p0 1e10 10.831247
7 > [ 10.831248] (1:p0@host0) p0 compute 12 0.000001
8 > [ 22.831247] (0:@) Simulation time 22.8312
9 > [ 22.831247] (2:p1@host1) p1 sleep 12 12.000000
10
11 ! output sort
12 $ ${bindir:=.}/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"
13 > [  0.000000] (1:p0@host0) p0 comm_size 3 0.000000
14 > [ 51.095484] (1:p0@host0) p0 allReduce 5e8 5e8 51.095484
15 > [ 51.095484] (2:p1@host1) p1 allReduce 5e8 5e8 51.095484
16 > [ 51.095484] (3:p2@host2) p2 allReduce 5e8 5e8 51.095484
17 > [101.095484] (0:@) Simulation time 101.095
18 > [101.095484] (1:p0@host0) p0 compute 5e8 50.000000
19 > [101.095484] (2:p1@host1) p1 compute 5e8 50.000000
20 > [101.095484] (3:p2@host2) p2 compute 5e8 50.000000
21
22 ! output sort
23 $ ${bindir:=.}/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"
24 > [  0.000000] (1:p0@host0) p0 comm_size 3 0.000000
25 > [  0.000000] (2:p1@host1) p1 comm_size 3 0.000000
26 > [  0.000000] (3:p2@host2) p2 comm_size 3 0.000000
27 > [  0.017330] (1:p0@host0) p0 send p1 1E7 0.017330
28 > [  0.017330] (2:p1@host1) p1 recv p0 0.017330
29 > [  0.417330] (2:p1@host1) p1 compute 4E6 0.400000
30 > [  0.417330] (3:p2@host2) p2 compute 4E6 0.400000
31 > [  0.467330] (0:@) Simulation time 0.46733
32 > [  0.467330] (1:p0@host0) p0 compute 4.5E6 0.450000
33
34 ! output sort
35 $ ${bindir:=.}/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"
36 > [  0.000000] (1:p0@host0) p0 comm_size 3 0.000000
37 > [  0.547742] (1:p0@host0) p0 bcast 5e8 0.547742
38 > [  0.547742] (2:p1@host1) p1 bcast 5e8 0.547742
39 > [  0.547742] (3:p2@host2) p2 bcast 5e8 0.547742
40 > [ 20.547742] (2:p1@host1) p1 compute 2e8 20.000000
41 > [ 50.547742] (1:p0@host0) p0 compute 5e8 50.000000
42 > [ 50.547742] (3:p2@host2) p2 compute 5e8 50.000000
43 > [ 51.095484] (1:p0@host0) p0 bcast 5e8 0.547742
44 > [ 51.095484] (2:p1@host1) p1 bcast 5e8 30.547742
45 > [ 51.095484] (3:p2@host2) p2 bcast 5e8 0.547742
46 > [ 71.095484] (2:p1@host1) p1 compute 2e8 20.000000
47 > [101.095484] (1:p0@host0) p0 compute 5e8 50.000000
48 > [101.095484] (3:p2@host2) p2 compute 5e8 50.000000
49 > [101.643226] (2:p1@host1) p1 reduce 5e8 5e8 30.547742
50 > [101.643226] (3:p2@host2) p2 reduce 5e8 5e8 0.547742
51 > [151.643226] (0:@) Simulation time 151.643
52 > [151.643226] (1:p0@host0) p0 reduce 5e8 5e8 50.547742
53
54 ! output sort
55 $ ${bindir:=.}/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"
56 > [  0.000000] (1:p0@host0) p0 comm_size 3 0.000000
57 > [  0.547742] (2:p1@host1) p1 reduce 5e8 5e8 0.547742
58 > [  0.547742] (3:p2@host2) p2 reduce 5e8 5e8 0.547742
59 > [ 50.547742] (1:p0@host0) p0 reduce 5e8 5e8 50.547742
60 > [ 50.547742] (2:p1@host1) p1 compute 5e8 50.000000
61 > [ 50.547742] (3:p2@host2) p2 compute 5e8 50.000000
62 > [100.547742] (0:@) Simulation time 100.548
63 > [100.547742] (1:p0@host0) p0 compute 5e8 50.000000
64
65 ! output sort
66 $ ${bindir:=.}/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"
67 > [  0.000000] (2:p1@host1) p1 Irecv p0 0.000000
68 > [  0.000000] (3:p2@host2) p2 Irecv p1 0.000000
69 > [  1.088979] (1:p0@host0) p0 send p1 1e9 1.088979
70 > [ 50.000000] (3:p2@host2) p2 compute 5e8 50.000000
71 > [100.000000] (2:p1@host1) p1 compute 1e9 100.000000
72 > [100.000000] (2:p1@host1) p1 wait 0.000000
73 > [101.088979] (1:p0@host0) p0 compute 1e9 100.000000
74 > [101.088979] (2:p1@host1) p1 send p2 1e9 1.088979
75 > [101.088979] (3:p2@host2) p2 wait 51.088979
76 > [101.088979] (3:p2@host2) p2 Isend p0 1e9 0.000000
77 > [102.177958] (1:p0@host0) p0 recv p2 1.088979
78 > [151.088979] (0:@) Simulation time 151.089
79 > [151.088979] (3:p2@host2) p2 compute 5e8 50.000000