1 # use the tested library, not the installed one
2 # (since we want to pass it to the child, it has to be redefined before each command)
3 # Go for the first test
5 p Test of trace replay with SMPI (one trace for all processes)
7 < replay/actions_bcast.txt
8 $ mkfile replay/one_trace
10 $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/cpu_threshold:1 -np 3 -platform ${srcdir:=.}/replay/replay_platform.xml -hostfile ${srcdir:=.}/hostfile ./smpi_replay ${srcdir:=.}/replay/one_trace
11 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
12 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
13 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
14 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '1'
15 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
16 > [Fafard:2:(0) 65.176535] [smpi_replay/VERBOSE] 2 bcast 5e8 65.176535
17 > [Fafard:2:(0) 71.729958] [smpi_replay/VERBOSE] 2 compute 5e8 6.553424
18 > [Jupiter:1:(0) 73.739750] [smpi_replay/VERBOSE] 1 bcast 5e8 73.739750
19 > [Tremblay:0:(0) 73.739750] [smpi_replay/VERBOSE] 0 bcast 5e8 73.739750
20 > [Jupiter:1:(0) 76.361119] [smpi_replay/VERBOSE] 1 compute 2e8 2.621369
21 > [Tremblay:0:(0) 78.836850] [smpi_replay/VERBOSE] 0 compute 5e8 5.097100
22 > [Fafard:2:(0) 144.013385] [smpi_replay/VERBOSE] 2 bcast 5e8 72.283426
23 > [Fafard:2:(0) 150.566808] [smpi_replay/VERBOSE] 2 compute 5e8 6.553424
24 > [Jupiter:1:(0) 152.576600] [smpi_replay/VERBOSE] 1 bcast 5e8 76.215480
25 > [Tremblay:0:(0) 152.576600] [smpi_replay/VERBOSE] 0 bcast 5e8 73.739750
26 > [Jupiter:1:(0) 155.197969] [smpi_replay/VERBOSE] 1 compute 2e8 2.621369
27 > [Tremblay:0:(0) 157.673699] [smpi_replay/VERBOSE] 0 compute 5e8 5.097100
28 > [Fafard:2:(0) 222.850234] [smpi_replay/VERBOSE] 2 reduce 5e8 5e8 72.283426
29 > [Jupiter:1:(0) 231.413449] [smpi_replay/VERBOSE] 1 reduce 5e8 5e8 76.215480
30 > [Tremblay:0:(0) 231.413449] [smpi_replay/VERBOSE] 0 reduce 5e8 5e8 73.739750
31 > [Tremblay:0:(0) 231.413449] [smpi_replay/INFO] Simulation time 231.413
33 $ rm -f replay/one_trace
35 p The same with tracing activated
37 < replay/actions_bcast.txt
38 $ mkfile replay/one_trace
40 $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=no_loc --cfg=tracing:1 --cfg=tracing/smpi:1 --cfg=tracing/smpi/computing:1 --cfg=smpi/cpu_threshold:1 -np 3 -platform ${srcdir:=.}/replay/replay_platform.xml -hostfile ${srcdir:=.}/hostfile ./smpi_replay ${srcdir:=.}/replay/one_trace
41 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
42 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
43 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
44 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
45 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
46 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi/computing' to '1'
47 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '1'
48 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
49 > [Tremblay:0:(0) 231.413449] [smpi_replay/INFO] Simulation time 231.413
51 $ rm -f replay/one_trace
54 $ tail -n +3 ./simgrid.trace
55 > %EventDef PajeDefineContainerType 0
60 > %EventDef PajeDefineVariableType 1
66 > %EventDef PajeDefineStateType 2
71 > %EventDef PajeDefineEventType 3
76 > %EventDef PajeDefineLinkType 4
79 > % StartContainerType string
80 > % EndContainerType string
83 > %EventDef PajeDefineEntityValue 5
89 > %EventDef PajeCreateContainer 6
96 > %EventDef PajeDestroyContainer 7
101 > %EventDef PajeSetVariable 8
107 > %EventDef PajeAddVariable 9
113 > %EventDef PajeSubVariable 10
119 > %EventDef PajeSetState 11
125 > %EventDef PajePushState 12
131 > %EventDef PajePopState 13
136 > %EventDef PajeResetState 14
141 > %EventDef PajeStartLink 15
146 > % StartContainer string
149 > %EventDef PajeEndLink 16
154 > % EndContainer string
157 > %EventDef PajeNewEvent 17
167 > 5 4 2 computing "0 1 1"
168 > 5 5 2 action_bcast "0 0.78 0.39"
188 > 5 6 2 action_reduce "0 1 0"
194 > 12 144.013385 2 3 4
196 > 12 150.566808 2 3 6
198 > 12 152.576600 2 2 4
200 > 12 152.576600 2 1 4
202 > 12 155.197969 2 2 6
204 > 12 157.673699 2 1 6
206 > 12 222.850234 2 3 4
210 > 12 231.413449 2 2 4
214 > 12 231.413449 2 1 4
218 $ rm -f ./simgrid.trace
220 p Another test of trace replay with SMPI (one trace per process)
221 $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/cpu_threshold:1 -np 2 -platform ${srcdir:=.}/replay/replay_platform.xml -hostfile ${srcdir:=.}/hostfile ./smpi_replay ${srcdir:=.}/replay/split_traces
222 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
223 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
224 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
225 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '1'
226 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
227 > [Tremblay:0:(0) 0.164463] [smpi_replay/VERBOSE] 0 send 1 1e6 0.164463
228 > [Jupiter:1:(0) 0.164463] [smpi_replay/VERBOSE] 1 recv 0 1e6 0.164463
229 > [Jupiter:1:(0) 13.271310] [smpi_replay/VERBOSE] 1 compute 1e9 13.106847
230 > [Jupiter:1:(0) 13.271310] [smpi_replay/VERBOSE] 1 Isend 0 1e6 0.000000
231 > [Jupiter:1:(0) 13.271310] [smpi_replay/VERBOSE] 1 Irecv 0 1e6 0.000000
232 > [Tremblay:0:(0) 13.435773] [smpi_replay/VERBOSE] 0 recv 1 1e6 13.271310
233 > [Jupiter:1:(0) 13.600235] [smpi_replay/VERBOSE] 1 wait 0.328926
234 > [Tremblay:0:(0) 13.600235] [smpi_replay/VERBOSE] 0 send 1 1e6 0.164463
235 > [Tremblay:0:(0) 13.600235] [smpi_replay/INFO] Simulation time 13.6002
238 p Test of barrier replay with SMPI (one trace for all processes)
240 < replay/actions_barrier.txt
241 $ mkfile replay/one_trace
243 $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/cpu_threshold:1 -np 3 -platform ${srcdir:=.}/replay/replay_platform.xml -hostfile ${srcdir:=.}/hostfile ./smpi_replay ${srcdir:=.}/replay/one_trace
244 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
245 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
246 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
247 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '1'
248 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
249 > [Tremblay:0:(0) 1.491472] [smpi_replay/VERBOSE] 0 send 1 1e7 1.491472
250 > [Jupiter:1:(0) 1.491472] [smpi_replay/VERBOSE] 1 recv 0 1e7 1.491472
251 > [Tremblay:0:(0) 1.495453] [smpi_replay/VERBOSE] 0 barrier 0.003981
252 > [Jupiter:1:(0) 1.498398] [smpi_replay/VERBOSE] 1 barrier 0.006926
253 > [Fafard:2:(0) 1.499434] [smpi_replay/VERBOSE] 2 barrier 1.499434
254 > [Tremblay:0:(0) 2.495453] [smpi_replay/VERBOSE] 0 compute 98095000 1.000000
255 > [Jupiter:1:(0) 2.498398] [smpi_replay/VERBOSE] 1 compute 76296000 1.000000
256 > [Fafard:2:(0) 2.499434] [smpi_replay/VERBOSE] 2 compute 76296000 1.000000
257 > [Fafard:2:(0) 2.499434] [smpi_replay/INFO] Simulation time 2.49943
259 $ rm -f replay/one_trace
261 p Test of Isend replay with SMPI (one trace for all processes)
263 < replay/actions_with_isend.txt
264 $ mkfile replay/one_trace
266 $ ../../bin/smpirun -ext smpi_replay --log=replay.thresh:critical --log=smpi_replay.thresh:verbose --log=no_loc --cfg=smpi/cpu_threshold:1 -np 3 -platform ${srcdir:=.}/replay/replay_platform.xml -hostfile ${srcdir:=.}/hostfile ./smpi_replay ${srcdir:=.}/replay/one_trace
267 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
268 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
269 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
270 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '1'
271 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
272 > [Jupiter:1:(0) 0.000000] [smpi_replay/VERBOSE] 1 Irecv 0 1e9 0.000000
273 > [Fafard:2:(0) 0.000000] [smpi_replay/VERBOSE] 2 Irecv 1 1e9 0.000000
274 > [Fafard:2:(0) 6.553424] [smpi_replay/VERBOSE] 2 compute 5e8 6.553424
275 > [Jupiter:1:(0) 13.106847] [smpi_replay/VERBOSE] 1 compute 1e9 13.106847
276 > [Tremblay:0:(0) 147.462483] [smpi_replay/VERBOSE] 0 send 1 1e9 147.462483
277 > [Jupiter:1:(0) 147.462483] [smpi_replay/VERBOSE] 1 wait 134.355636
278 > [Tremblay:0:(0) 157.656682] [smpi_replay/VERBOSE] 0 compute 1e9 10.194200
279 > [Fafard:2:(0) 294.947973] [smpi_replay/VERBOSE] 2 wait 288.394550
280 > [Jupiter:1:(0) 294.947973] [smpi_replay/VERBOSE] 1 send 2 1e9 147.485491
281 > [Fafard:2:(0) 294.947973] [smpi_replay/VERBOSE] 2 Isend 0 1e9 0.000000
282 > [Fafard:2:(0) 301.501397] [smpi_replay/VERBOSE] 2 compute 5e8 6.553424
283 > [Tremblay:0:(0) 425.278035] [smpi_replay/VERBOSE] 0 recv 2 1e9 267.621353
284 > [Tremblay:0:(0) 425.278035] [smpi_replay/INFO] Simulation time 425.278