Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
8f3de7e85e1d4717486fe83d5e0dd6f699043b85
[simgrid.git] / examples / smpi / replay_multiple_manual_deploy / replay_multiple_manual_mixed2.tesh
1 p Workload with two mixed jobs (not at the same time, not on the same resources)
2 < Two jobs not at the same time nor on the same resources
3 < job0 mixed.txt 2 0 0,1
4 < job1 mixed.txt 2 1000 2,3
5 $ mkfile ${srcdir:=.}/workload_mixed2
6
7 ! timeout 120
8 ! output sort 25
9 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_mixed2 --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 0 0
10 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
11 > [   0.000000] (maestro@) Job read: app='job0', file='mixed.txt', size=2, start=0, alloc='0,1'
12 > [   0.000000] (maestro@) Job read: app='job1', file='mixed.txt', size=2, start=1000, alloc='2,3'
13 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
14 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
15 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
16 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
17 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
18 > [ 737.001374] (rank_0_1@Fafard) Simulation time 737.001374
19 > [ 737.001374] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
20 > [ 737.001374] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
21 > [ 738.001374] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
22 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
23 > [1000.000000] (job_0001@Ginette) Executing job 1 (smpi_app 'job1')
24 > [1000.000000] (rank_1_0@Ginette) Replaying rank 0 of job 1 (smpi_app 'job1')
25 > [1000.000000] (rank_1_1@Jupiter) Replaying rank 1 of job 1 (smpi_app 'job1')
26 > [1806.923160] (rank_1_1@Jupiter) Simulation time 806.923160
27 > [1806.923160] (rank_1_0@Ginette) Finished replaying rank 0 of job 1 (smpi_app 'job1')
28 > [1806.923160] (rank_1_1@Jupiter) Finished replaying rank 1 of job 1 (smpi_app 'job1')
29 > [1807.923160] (job_0001@Ginette) Finished job 1 (smpi_app 'job1')
30 > [1807.923160] (maestro@) Simulation finished! Final time: 1807.92
31
32 p Workload with two mixed jobs (not at the same time, not on the same resources, with noise)
33 ! timeout 120
34 ! output sort 25
35 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_mixed2 --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 7 13
36 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
37 > [   0.000000] (maestro@) Job read: app='job0', file='mixed.txt', size=2, start=0, alloc='0,1'
38 > [   0.000000] (maestro@) Job read: app='job1', file='mixed.txt', size=2, start=1000, alloc='2,3'
39 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
40 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
41 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
42 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
43 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
44 > [ 737.001374] (rank_0_1@Fafard) Simulation time 737.001374
45 > [ 737.001374] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
46 > [ 737.001374] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
47 > [ 738.001374] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
48 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
49 > [1000.000000] (job_0001@Ginette) Executing job 1 (smpi_app 'job1')
50 > [1000.000000] (rank_1_0@Ginette) Replaying rank 0 of job 1 (smpi_app 'job1')
51 > [1000.000000] (rank_1_1@Jupiter) Replaying rank 1 of job 1 (smpi_app 'job1')
52 > [1806.923160] (rank_1_1@Jupiter) Simulation time 806.923160
53 > [1806.923160] (rank_1_0@Ginette) Finished replaying rank 0 of job 1 (smpi_app 'job1')
54 > [1806.923160] (rank_1_1@Jupiter) Finished replaying rank 1 of job 1 (smpi_app 'job1')
55 > [1807.923160] (job_0001@Ginette) Finished job 1 (smpi_app 'job1')
56 > [1807.923160] (maestro@) Simulation finished! Final time: 1807.92
57
58 $ rm -f ${srcdir:=.}/workload_mixed2
59
60 p Workload with two mixed jobs (not at the same time, but on the same resources)
61
62 < Two jobs not at the same time but using the same resources
63 < job0 mixed.txt 2 0 0,1
64 < job1 mixed.txt 2 1000 0,1
65 $ mkfile ${srcdir:=.}/workload_mixed2_same_resources
66
67 ! timeout 120
68 ! output sort 25
69 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_mixed2_same_resources --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 0 0
70 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
71 > [   0.000000] (maestro@) Job read: app='job0', file='mixed.txt', size=2, start=0, alloc='0,1'
72 > [   0.000000] (maestro@) Job read: app='job1', file='mixed.txt', size=2, start=1000, alloc='0,1'
73 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
74 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
75 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
76 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
77 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
78 > [ 737.001374] (rank_0_1@Fafard) Simulation time 737.001374
79 > [ 737.001374] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
80 > [ 737.001374] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
81 > [ 738.001374] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
82 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
83 > [1000.000000] (job_0001@Bourassa) Executing job 1 (smpi_app 'job1')
84 > [1000.000000] (rank_1_0@Bourassa) Replaying rank 0 of job 1 (smpi_app 'job1')
85 > [1000.000000] (rank_1_1@Fafard) Replaying rank 1 of job 1 (smpi_app 'job1')
86 > [1737.001374] (rank_1_1@Fafard) Simulation time 737.001374
87 > [1737.001374] (rank_1_0@Bourassa) Finished replaying rank 0 of job 1 (smpi_app 'job1')
88 > [1737.001374] (rank_1_1@Fafard) Finished replaying rank 1 of job 1 (smpi_app 'job1')
89 > [1738.001374] (job_0001@Bourassa) Finished job 1 (smpi_app 'job1')
90 > [1738.001374] (maestro@) Simulation finished! Final time: 1738
91
92 p Workload with two mixed jobs (not at the same time, but on the same resources, with noise)
93 ! timeout 120
94 ! output sort 25
95 $ ./replay_multiple_manual ${platfdir}/small_platform_with_routers.xml ${srcdir:=.}/workload_mixed2_same_resources --log=smpi.:info --cfg=smpi/host-speed:100 "--log=root.fmt:[%11.6r]%e(%P@%h)%e%m%n" 7 13
96 > [   0.000000] (maestro@) Configuration change: Set 'smpi/host-speed' to '100'
97 > [   0.000000] (maestro@) Job read: app='job0', file='mixed.txt', size=2, start=0, alloc='0,1'
98 > [   0.000000] (maestro@) Job read: app='job1', file='mixed.txt', size=2, start=1000, alloc='0,1'
99 > [   0.000000] (workload@Bourassa) Launching the job executor of job 0 (app 'job0')
100 > [   0.000000] (job_0000@Bourassa) Executing job 0 (smpi_app 'job0')
101 > [   0.000000] (workload@Bourassa) Sleeping 1000 seconds (waiting for job 1000, app 'job1')
102 > [   0.000000] (rank_0_0@Bourassa) Replaying rank 0 of job 0 (smpi_app 'job0')
103 > [   0.000000] (rank_0_1@Fafard) Replaying rank 1 of job 0 (smpi_app 'job0')
104 > [ 737.001374] (rank_0_1@Fafard) Simulation time 737.001374
105 > [ 737.001374] (rank_0_0@Bourassa) Finished replaying rank 0 of job 0 (smpi_app 'job0')
106 > [ 737.001374] (rank_0_1@Fafard) Finished replaying rank 1 of job 0 (smpi_app 'job0')
107 > [ 738.001374] (job_0000@Bourassa) Finished job 0 (smpi_app 'job0')
108 > [1000.000000] (workload@Bourassa) Launching the job executor of job 1 (app 'job1')
109 > [1000.000000] (job_0001@Bourassa) Executing job 1 (smpi_app 'job1')
110 > [1000.000000] (rank_1_0@Bourassa) Replaying rank 0 of job 1 (smpi_app 'job1')
111 > [1000.000000] (rank_1_1@Fafard) Replaying rank 1 of job 1 (smpi_app 'job1')
112 > [1737.001374] (rank_1_1@Fafard) Simulation time 737.001374
113 > [1737.001374] (rank_1_0@Bourassa) Finished replaying rank 0 of job 1 (smpi_app 'job1')
114 > [1737.001374] (rank_1_1@Fafard) Finished replaying rank 1 of job 1 (smpi_app 'job1')
115 > [1738.001374] (job_0001@Bourassa) Finished job 1 (smpi_app 'job1')
116 > [1738.001374] (maestro@) Simulation finished! Final time: 1738
117
118 $ rm -f ${srcdir:=.}/workload_mixed2_sr