Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
logs: Allow %a instead of %P to display the actor name
[simgrid.git] / examples / c / app-masterworker / app-masterworker-multicore.tesh
1 #!/usr/bin/env tesh
2
3 p Testing a simple master/worker example application
4
5 $ ./app-masterworker/c-app-masterworker ${platfdir}/multicore_machine.xml ${srcdir:=.}/app-masterworker-multicore_d.xml --cfg=cpu/model:Cas01 --cfg=cpu/optim:Full "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
6 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
7 > [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'Full'
8 > [  0.000000] (1:master@Tremblay) Got 6 workers and 20 tasks to process
9 > [  0.000000] (1:master@Tremblay) Sending "Task_0" (of 20) to mailbox "worker-0"
10 > [  0.000103] (1:master@Tremblay) Sending "Task_1" (of 20) to mailbox "worker-1"
11 > [  0.000206] (1:master@Tremblay) Sending "Task_2" (of 20) to mailbox "worker-2"
12 > [  0.000309] (1:master@Tremblay) Sending "Task_3" (of 20) to mailbox "worker-3"
13 > [  0.000412] (1:master@Tremblay) Sending "Task_4" (of 20) to mailbox "worker-4"
14 > [  0.000515] (1:master@Tremblay) Sending "Task_5" (of 20) to mailbox "worker-5"
15 > [  0.000619] (1:master@Tremblay) Sending "Task_6" (of 20) to mailbox "worker-0"
16 > [  0.509916] (1:master@Tremblay) Sending "Task_7" (of 20) to mailbox "worker-1"
17 > [  0.510019] (1:master@Tremblay) Sending "Task_8" (of 20) to mailbox "worker-2"
18 > [  0.510122] (1:master@Tremblay) Sending "Task_9" (of 20) to mailbox "worker-3"
19 > [  0.510225] (1:master@Tremblay) Sending "Task_10" (of 20) to mailbox "worker-4"
20 > [  0.510329] (1:master@Tremblay) Sending "Task_11" (of 20) to mailbox "worker-5"
21 > [  0.510432] (1:master@Tremblay) Sending "Task_12" (of 20) to mailbox "worker-0"
22 > [  1.019729] (1:master@Tremblay) Sending "Task_13" (of 20) to mailbox "worker-1"
23 > [  1.019832] (1:master@Tremblay) Sending "Task_14" (of 20) to mailbox "worker-2"
24 > [  1.019935] (1:master@Tremblay) Sending "Task_15" (of 20) to mailbox "worker-3"
25 > [  1.020039] (1:master@Tremblay) Sending "Task_16" (of 20) to mailbox "worker-4"
26 > [  1.020142] (1:master@Tremblay) Sending "Task_17" (of 20) to mailbox "worker-5"
27 > [  1.020245] (1:master@Tremblay) Sending "Task_18" (of 20) to mailbox "worker-0"
28 > [  1.529542] (1:master@Tremblay) Sending "Task_19" (of 20) to mailbox "worker-1"
29 > [  1.529645] (1:master@Tremblay) All tasks have been dispatched. Let's tell everybody the computation is over.
30 > [  2.039252] (2:worker@Tremblay) I'm done. See you!
31 > [  2.039355] (3:worker@Tremblay) I'm done. See you!
32 > [  2.039355] (4:worker@Tremblay) I'm done. See you!
33 > [  2.039355] (5:worker@Tremblay) I'm done. See you!
34 > [  2.039355] (6:worker@Tremblay) I'm done. See you!
35 > [  2.039355] (7:worker@Tremblay) I'm done. See you!
36 > [  2.039355] (0:maestro@) Simulation time 2.03936