Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
eb0d0a8e142eb5e614cfd122984425159c1f0881
[simgrid.git] / examples / smpi / replay_multiple_manual_deploy / replay_multiple_manual_empty2.tesh
1 p Workload with two empty jobs (not at the same time, not on the same resources)
2
3 < Two jobs not at the same time nor on the same resources
4 < job0 empty.txt 2 0 0,1
5 < job1 empty.txt 2 1000 2,3
6 $ mkfile ${srcdir:=.}/workload_empty2
7
8 ! timeout 120
9 ! output sort 25
10 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2 --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 0 0
11 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
12 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
13 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=1000, alloc='2,3'
14 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
15 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
16 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
17 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
18 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
19 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
20 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
21 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
22 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
23 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
24 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
25 > [1000.000000] (job_0001@Ginette) Executing job 1 (smpi_app 'job1')
26 > [1000.000000] (rank_1_0@Ginette) Replaying rank 0 of job 1 (smpi_app 'job1')
27 > [1000.000000] (rank_1_1@Jupiter) Replaying rank 1 of job 1 (smpi_app 'job1')
28 > [1000.000000] (rank_1_0@Ginette) Simulation time 0.000000
29 > [1000.000000] (rank_1_1@Jupiter) Simulation time 0.000000
30 > [1000.000000] (rank_1_1@Jupiter) Finished replaying rank 1 of job 1 (smpi_app 'job1')
31 > [1000.000000] (rank_1_0@Ginette) Finished replaying rank 0 of job 1 (smpi_app 'job1')
32 > [1001.000000] (job_0001@Ginette) Finished job 1 (smpi_app 'job1')
33 > [1001.000000] (maestro@) Simulation finished! Final time: 1001
34
35 p Workload with two empty jobs (not at the same time, not on the same resources, with noise)
36 ! timeout 120
37 ! output sort 25
38 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2 --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 7 13
39 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
40 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
41 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=1000, alloc='2,3'
42 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
43 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
44 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
45 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
46 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
47 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
48 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
49 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
50 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
51 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
52 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
53 > [1000.000000] (job_0001@Ginette) Executing job 1 (smpi_app 'job1')
54 > [1000.000000] (rank_1_0@Ginette) Replaying rank 0 of job 1 (smpi_app 'job1')
55 > [1000.000000] (rank_1_1@Jupiter) Replaying rank 1 of job 1 (smpi_app 'job1')
56 > [1000.000000] (rank_1_0@Ginette) Simulation time 0.000000
57 > [1000.000000] (rank_1_1@Jupiter) Simulation time 0.000000
58 > [1000.000000] (rank_1_1@Jupiter) Finished replaying rank 1 of job 1 (smpi_app 'job1')
59 > [1000.000000] (rank_1_0@Ginette) Finished replaying rank 0 of job 1 (smpi_app 'job1')
60 > [1001.000000] (job_0001@Ginette) Finished job 1 (smpi_app 'job1')
61 > [1013.000000] (maestro@) Simulation finished! Final time: 1013
62
63 $ rm -f ${srcdir:=.}/workload_empty2
64
65 p Workload with two empty jobs (not at the same time, but on the same resources)
66
67 < Two jobs not at the same time but using the same resources
68 < job0 empty.txt 2 0 0,1
69 < job1 empty.txt 2 1000 0,1
70 $ mkfile ${srcdir:=.}/workload_empty2_same_resources
71
72 ! timeout 120
73 ! output sort 25
74 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2_same_resources --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 0 0
75 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
76 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
77 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=1000, alloc='0,1'
78 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
79 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
80 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
81 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
82 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
83 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
84 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
85 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
86 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
87 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
88 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
89 > [1000.000000] (job_0001@Bourassa) Executing job 1 (smpi_app 'job1')
90 > [1000.000000] (rank_1_0@Bourassa) Replaying rank 0 of job 1 (smpi_app 'job1')
91 > [1000.000000] (rank_1_1@Fafard) Replaying rank 1 of job 1 (smpi_app 'job1')
92 > [1000.000000] (rank_1_0@Bourassa) Simulation time 0.000000
93 > [1000.000000] (rank_1_1@Fafard) Simulation time 0.000000
94 > [1000.000000] (rank_1_1@Fafard) Finished replaying rank 1 of job 1 (smpi_app 'job1')
95 > [1000.000000] (rank_1_0@Bourassa) Finished replaying rank 0 of job 1 (smpi_app 'job1')
96 > [1001.000000] (job_0001@Bourassa) Finished job 1 (smpi_app 'job1')
97 > [1001.000000] (maestro@) Simulation finished! Final time: 1001
98
99 p Workload with two empty jobs (not at the same time, but on the same resources, with noise)
100 ! timeout 120
101 ! output sort 25
102 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2_same_resources --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 7 13
103 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
104 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
105 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=1000, alloc='0,1'
106 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
107 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
108 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
109 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
110 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
111 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
112 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
113 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
114 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
115 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
116 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
117 > [1000.000000] (job_0001@Bourassa) Executing job 1 (smpi_app 'job1')
118 > [1000.000000] (rank_1_0@Bourassa) Replaying rank 0 of job 1 (smpi_app 'job1')
119 > [1000.000000] (rank_1_1@Fafard) Replaying rank 1 of job 1 (smpi_app 'job1')
120 > [1000.000000] (rank_1_0@Bourassa) Simulation time 0.000000
121 > [1000.000000] (rank_1_1@Fafard) Simulation time 0.000000
122 > [1000.000000] (rank_1_1@Fafard) Finished replaying rank 1 of job 1 (smpi_app 'job1')
123 > [1000.000000] (rank_1_0@Bourassa) Finished replaying rank 0 of job 1 (smpi_app 'job1')
124 > [1001.000000] (job_0001@Bourassa) Finished job 1 (smpi_app 'job1')
125 > [1013.000000] (maestro@) Simulation finished! Final time: 1013
126
127 $ rm -f ${srcdir:=.}/workload_empty2_same_resources
128
129 p Workload with two empty jobs (at the same time but not on the same resources)
130
131 < Two jobs not at the same time but on different resources
132 < job0 empty.txt 2 0 0,1
133 < job1 empty.txt 2 0 2,3
134 $ mkfile ${srcdir:=.}/workload_empty2_same_time
135
136 ! timeout 120
137 ! output sort 25
138 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2_same_time --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 0 0
139 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
140 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
141 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=0, alloc='2,3'
142 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
143 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
144 > [   0.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
145 > [   0.000000] (job_0001@Ginette) Executing job 1 (smpi_app 'job1')
146 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
147 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
148 > [   0.000000] (rank_1_0@Ginette) Replaying rank 0 of job 1 (smpi_app 'job1')
149 > [   0.000000] (rank_1_1@Jupiter) Replaying rank 1 of job 1 (smpi_app 'job1')
150 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
151 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
152 > [   0.000000] (rank_1_0@Ginette) Simulation time 0.000000
153 > [   0.000000] (rank_1_1@Jupiter) Simulation time 0.000000
154 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
155 > [   0.000000] (rank_1_1@Jupiter) Finished replaying rank 1 of job 1 (smpi_app 'job1')
156 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
157 > [   0.000000] (rank_1_0@Ginette) Finished replaying rank 0 of job 1 (smpi_app 'job1')
158 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
159 > [   1.000000] (job_0001@Ginette) Finished job 1 (smpi_app 'job1')
160 > [   1.000000] (maestro@) Simulation finished! Final time: 1
161
162 p Workload with two empty jobs (at the same time but not on the same resources, with noise)
163 ! timeout 120
164 ! output sort 25
165 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2_same_time --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 7 13
166 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
167 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
168 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=0, alloc='2,3'
169 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
170 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
171 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
172 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
173 > [   0.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
174 > [   0.000000] (job_0001@Ginette) Executing job 1 (smpi_app 'job1')
175 > [   0.000000] (rank_1_0@Ginette) Replaying rank 0 of job 1 (smpi_app 'job1')
176 > [   0.000000] (rank_1_1@Jupiter) Replaying rank 1 of job 1 (smpi_app 'job1')
177 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
178 > [   0.000000] (rank_1_0@Ginette) Simulation time 0.000000
179 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
180 > [   0.000000] (rank_1_1@Jupiter) Simulation time 0.000000
181 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
182 > [   0.000000] (rank_1_1@Jupiter) Finished replaying rank 1 of job 1 (smpi_app 'job1')
183 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
184 > [   0.000000] (rank_1_0@Ginette) Finished replaying rank 0 of job 1 (smpi_app 'job1')
185 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
186 > [   1.000000] (job_0001@Ginette) Finished job 1 (smpi_app 'job1')
187 > [  13.000000] (maestro@) Simulation finished! Final time: 13
188
189 $ rm -f ${srcdir:=.}/workload_empty2_same_time
190
191
192 p Workload with two empty jobs (at the same time and on the same resources)
193
194 < Two jobs at the same time and on same resources
195 < job0 empty.txt 2 0 0,1
196 < job1 empty.txt 2 0 0,1
197 $ mkfile ${srcdir:=.}/workload_empty2_same_time_and_resources
198
199 ! timeout 120
200 ! output sort 25
201 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2_same_time_and_resources --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 0 0
202 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
203 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
204 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=0, alloc='0,1'
205 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
206 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
207 > [   0.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
208 > [   0.000000] (job_0001@Bourassa) Executing job 1 (smpi_app 'job1')
209 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
210 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
211 > [   0.000000] (rank_1_0@Bourassa) Replaying rank 0 of job 1 (smpi_app 'job1')
212 > [   0.000000] (rank_1_1@Fafard) Replaying rank 1 of job 1 (smpi_app 'job1')
213 > [   0.000000] (rank_1_0@Bourassa) Simulation time 0.000000
214 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
215 > [   0.000000] (rank_1_1@Fafard) Simulation time 0.000000
216 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
217 > [   0.000000] (rank_1_1@Fafard) Finished replaying rank 1 of job 1 (smpi_app 'job1')
218 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
219 > [   0.000000] (rank_1_0@Bourassa) Finished replaying rank 0 of job 1 (smpi_app 'job1')
220 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
221 > [   1.000000] (job_0001@Bourassa) Finished job 1 (smpi_app 'job1')
222 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
223 > [   1.000000] (maestro@) Simulation finished! Final time: 1
224
225 p Workload with two empty jobs (at the same time and on the same resources, with noise)
226
227 ! timeout 120
228 ! output sort 25
229 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_empty2_same_time_and_resources --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 7 13
230 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
231 > [   0.000000] (maestro@) Job read: app='job0', file='empty.txt', size=2, start=0, alloc='0,1'
232 > [   0.000000] (maestro@) Job read: app='job1', file='empty.txt', size=2, start=0, alloc='0,1'
233 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
234 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
235 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
236 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
237 > [   0.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
238 > [   0.000000] (job_0001@Bourassa) Executing job 1 (smpi_app 'job1')
239 > [   0.000000] (rank_1_0@Bourassa) Replaying rank 0 of job 1 (smpi_app 'job1')
240 > [   0.000000] (rank_1_1@Fafard) Replaying rank 1 of job 1 (smpi_app 'job1')
241 > [   0.000000] (rank_1_0@Bourassa) Simulation time 0.000000
242 > [   0.000000] (rank_0_0@Bourassa) Simulation time 0.000000
243 > [   0.000000] (rank_1_1@Fafard) Simulation time 0.000000
244 > [   0.000000] (rank_0_1@Fafard) Simulation time 0.000000
245 > [   0.000000] (rank_1_1@Fafard) Finished replaying rank 1 of job 1 (smpi_app 'job1')
246 > [   0.000000] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
247 > [   0.000000] (rank_1_0@Bourassa) Finished replaying rank 0 of job 1 (smpi_app 'job1')
248 > [   0.000000] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
249 > [   1.000000] (job_0001@Bourassa) Finished job 1 (smpi_app 'job1')
250 > [   1.000000] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
251 > [  13.000000] (maestro@) Simulation finished! Final time: 13
252
253 $ rm -f ${srcdir:=.}/workload_empty2_same_time_and_resources