Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[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 > [500.006505] (1:p0@host0) p0 recv p1 500.006505
6 > [500.006505] (2:p1@host1) p1 send p0 1e10 500.006505
7 > [500.006506] (1:p0@host0) p0 compute 12 0.000001
8 > [512.006505] (0:@) Simulation time 512.007
9 > [512.006505] (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 > [100.013010] (1:p0@host0) p0 allReduce 5e8 5e8 100.013010
15 > [100.013010] (2:p1@host1) p1 allReduce 5e8 5e8 100.013010
16 > [100.013010] (3:p2@host2) p2 allReduce 5e8 5e8 100.013010
17 > [150.013010] (0:@) Simulation time 150.013
18 > [150.013010] (1:p0@host0) p0 compute 5e8 50.000000
19 > [150.013010] (2:p1@host1) p1 compute 5e8 50.000000
20 > [150.013010] (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.506505] (1:p0@host0) p0 send p1 1E7 0.506505
28 > [  0.506505] (2:p1@host1) p1 recv p0 0.506505
29 > [  0.906505] (2:p1@host1) p1 compute 4E6 0.400000
30 > [  0.906505] (3:p2@host2) p2 compute 4E6 0.400000
31 > [  0.956505] (0:@) Simulation time 0.956505
32 > [  0.956505] (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 > [ 25.006505] (1:p0@host0) p0 bcast 5e8 25.006505
38 > [ 25.006505] (2:p1@host1) p1 bcast 5e8 25.006505
39 > [ 25.006505] (3:p2@host2) p2 bcast 5e8 25.006505
40 > [ 45.006505] (2:p1@host1) p1 compute 2e8 20.000000
41 > [ 75.006505] (1:p0@host0) p0 compute 5e8 50.000000
42 > [ 75.006505] (3:p2@host2) p2 compute 5e8 50.000000
43 > [100.013010] (1:p0@host0) p0 bcast 5e8 25.006505
44 > [100.013010] (2:p1@host1) p1 bcast 5e8 55.006505
45 > [100.013010] (3:p2@host2) p2 bcast 5e8 25.006505
46 > [120.013010] (2:p1@host1) p1 compute 2e8 20.000000
47 > [150.013010] (1:p0@host0) p0 compute 5e8 50.000000
48 > [150.013010] (3:p2@host2) p2 compute 5e8 50.000000
49 > [175.019515] (2:p1@host1) p1 reduce 5e8 5e8 55.006505
50 > [175.019515] (3:p2@host2) p2 reduce 5e8 5e8 25.006505
51 > [225.019515] (0:@) Simulation time 225.02
52 > [225.019515] (1:p0@host0) p0 reduce 5e8 5e8 75.006505
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 > [ 25.006505] (2:p1@host1) p1 reduce 5e8 5e8 25.006505
58 > [ 25.006505] (3:p2@host2) p2 reduce 5e8 5e8 25.006505
59 > [ 75.006505] (1:p0@host0) p0 reduce 5e8 5e8 75.006505
60 > [ 75.006505] (2:p1@host1) p1 compute 5e8 50.000000
61 > [ 75.006505] (3:p2@host2) p2 compute 5e8 50.000000
62 > [125.006505] (0:@) Simulation time 125.007
63 > [125.006505] (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 > [ 50.000000] (3:p2@host2) p2 compute 5e8 50.000000
70 > [ 50.006505] (1:p0@host0) p0 send p1 1e9 50.006505
71 > [100.000000] (2:p1@host1) p1 compute 1e9 100.000000
72 > [100.000000] (2:p1@host1) p1 wait 0.000000
73 > [150.006505] (1:p0@host0) p0 compute 1e9 100.000000
74 > [150.006505] (2:p1@host1) p1 send p2 1e9 50.006505
75 > [150.006505] (3:p2@host2) p2 wait 100.006505
76 > [150.006505] (3:p2@host2) p2 Isend p0 1e9 0.000000
77 > [200.006505] (0:@) Simulation time 200.007
78 > [200.006505] (1:p0@host0) p0 recv p2 50.000000
79 > [200.006505] (3:p2@host2) p2 compute 5e8 50.000000