1 # A little tesh file testing most MPI-related actions
5 $ ./actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n
6 > [ 0.000000] (0:@) Using raw contexts. Because the glibc is just not good enough for us.
7 > [500.005200] (1:p0@host0) p0 recv p1 500.005200
8 > [500.005200] (2:p1@host1) p1 send p0 1e10 500.005200
9 > [500.005201] (1:p0@host0) p0 compute 12 0.000001
10 > [512.005200] (0:@) Simulation time 512.005
11 > [512.005200] (2:p1@host1) p1 sleep 12 12.000000
14 $ ./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
15 > [ 0.000000] (0:@) Using raw contexts. Because the glibc is just not good enough for us.
16 > [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000
17 > [100.010400] (1:p0@host0) p0 allReduce 5e8 5e8 100.010400
18 > [100.010400] (2:p1@host1) p1 allReduce 5e8 5e8 100.010400
19 > [100.010400] (3:p2@host2) p2 allReduce 5e8 5e8 100.010400
20 > [150.010400] (0:@) Simulation time 150.01
21 > [150.010400] (1:p0@host0) p0 compute 5e8 50.000000
22 > [150.010400] (2:p1@host1) p1 compute 5e8 50.000000
23 > [150.010400] (3:p2@host2) p2 compute 5e8 50.000000
26 $ ./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
27 > [ 0.000000] (0:@) Using raw contexts. Because the glibc is just not good enough for us.
28 > [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000
29 > [ 0.000000] (2:p1@host1) p1 comm_size 3 0.000000
30 > [ 0.000000] (3:p2@host2) p2 comm_size 3 0.000000
31 > [ 0.505200] (1:p0@host0) p0 send p1 1E7 0.505200
32 > [ 0.505200] (2:p1@host1) p1 recv p0 0.505200
33 > [ 0.905200] (2:p1@host1) p1 compute 4E6 0.400000
34 > [ 0.905200] (3:p2@host2) p2 compute 4E6 0.400000
35 > [ 0.955200] (0:@) Simulation time 0.9552
36 > [ 0.955200] (1:p0@host0) p0 compute 4.5E6 0.450000
39 $ ./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
40 > [ 0.000000] (0:@) Using raw contexts. Because the glibc is just not good enough for us.
41 > [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000
42 > [ 25.005200] (1:p0@host0) p0 bcast 5e8 25.005200
43 > [ 25.005200] (2:p1@host1) p1 bcast 5e8 25.005200
44 > [ 25.005200] (3:p2@host2) p2 bcast 5e8 25.005200
45 > [ 45.005200] (2:p1@host1) p1 compute 2e8 20.000000
46 > [ 75.005200] (1:p0@host0) p0 compute 5e8 50.000000
47 > [ 75.005200] (3:p2@host2) p2 compute 5e8 50.000000
48 > [100.010400] (1:p0@host0) p0 bcast 5e8 25.005200
49 > [100.010400] (2:p1@host1) p1 bcast 5e8 55.005200
50 > [100.010400] (3:p2@host2) p2 bcast 5e8 25.005200
51 > [120.010400] (2:p1@host1) p1 compute 2e8 20.000000
52 > [150.010400] (1:p0@host0) p0 compute 5e8 50.000000
53 > [150.010400] (3:p2@host2) p2 compute 5e8 50.000000
54 > [175.015600] (2:p1@host1) p1 reduce 5e8 5e8 55.005200
55 > [175.015600] (3:p2@host2) p2 reduce 5e8 5e8 25.005200
56 > [225.015600] (0:@) Simulation time 225.016
57 > [225.015600] (1:p0@host0) p0 reduce 5e8 5e8 75.005200
60 $ ./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
61 > [ 0.000000] (0:@) Using raw contexts. Because the glibc is just not good enough for us.
62 > [ 0.000000] (1:p0@host0) p0 comm_size 3 0.000000
63 > [ 25.005200] (2:p1@host1) p1 reduce 5e8 5e8 25.005200
64 > [ 25.005200] (3:p2@host2) p2 reduce 5e8 5e8 25.005200
65 > [ 75.005200] (1:p0@host0) p0 reduce 5e8 5e8 75.005200
66 > [ 75.005200] (2:p1@host1) p1 compute 5e8 50.000000
67 > [ 75.005200] (3:p2@host2) p2 compute 5e8 50.000000
68 > [125.005200] (0:@) Simulation time 125.005
69 > [125.005200] (1:p0@host0) p0 compute 5e8 50.000000
72 $ ./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
73 > [ 0.000000] (0:@) Using raw contexts. Because the glibc is just not good enough for us.
74 > [ 0.000000] (2:p1@host1) p1 Irecv p0 0.000000
75 > [ 0.000000] (3:p2@host2) p2 Irecv p1 0.000000
76 > [ 50.000000] (3:p2@host2) p2 compute 5e8 50.000000
77 > [ 50.005200] (1:p0@host0) p0 send p1 1e9 50.005200
78 > [100.000000] (2:p1@host1) p1 compute 1e9 100.000000
79 > [100.000000] (2:p1@host1) p1 wait 0.000000
80 > [150.005200] (1:p0@host0) p0 compute 1e9 100.000000
81 > [150.005200] (2:p1@host1) p1 send p2 1e9 50.005200
82 > [150.005200] (3:p2@host2) p2 wait 100.005200
83 > [150.005200] (3:p2@host2) p2 Isend p0 1e9 0.000000
84 > [200.005200] (3:p2@host2) p2 compute 5e8 50.000000
85 > [200.010400] (0:@) Simulation time 200.01
86 > [200.010400] (1:p0@host0) p0 recv p2 50.005200