3 p Testing a simple master/worker example application
5 $ ./app-masterworker/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:%P@%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.002265] (1:master@Tremblay) Sending "Task_1" (of 20) to mailbox "worker-1"
11 > [ 0.004531] (1:master@Tremblay) Sending "Task_2" (of 20) to mailbox "worker-2"
12 > [ 0.006796] (1:master@Tremblay) Sending "Task_3" (of 20) to mailbox "worker-3"
13 > [ 0.009061] (1:master@Tremblay) Sending "Task_4" (of 20) to mailbox "worker-4"
14 > [ 0.011326] (1:master@Tremblay) Sending "Task_5" (of 20) to mailbox "worker-5"
15 > [ 0.013592] (1:master@Tremblay) Sending "Task_6" (of 20) to mailbox "worker-0"
16 > [ 0.514241] (1:master@Tremblay) Sending "Task_7" (of 20) to mailbox "worker-1"
17 > [ 0.516506] (1:master@Tremblay) Sending "Task_8" (of 20) to mailbox "worker-2"
18 > [ 0.518771] (1:master@Tremblay) Sending "Task_9" (of 20) to mailbox "worker-3"
19 > [ 0.521036] (1:master@Tremblay) Sending "Task_10" (of 20) to mailbox "worker-4"
20 > [ 0.523302] (1:master@Tremblay) Sending "Task_11" (of 20) to mailbox "worker-5"
21 > [ 0.525567] (1:master@Tremblay) Sending "Task_12" (of 20) to mailbox "worker-0"
22 > [ 1.026216] (1:master@Tremblay) Sending "Task_13" (of 20) to mailbox "worker-1"
23 > [ 1.028481] (1:master@Tremblay) Sending "Task_14" (of 20) to mailbox "worker-2"
24 > [ 1.030746] (1:master@Tremblay) Sending "Task_15" (of 20) to mailbox "worker-3"
25 > [ 1.033012] (1:master@Tremblay) Sending "Task_16" (of 20) to mailbox "worker-4"
26 > [ 1.035277] (1:master@Tremblay) Sending "Task_17" (of 20) to mailbox "worker-5"
27 > [ 1.037542] (1:master@Tremblay) Sending "Task_18" (of 20) to mailbox "worker-0"
28 > [ 1.538191] (1:master@Tremblay) Sending "Task_19" (of 20) to mailbox "worker-1"
29 > [ 1.540456] (1:master@Tremblay) All tasks have been dispatched. Let's tell everybody the computation is over.
30 > [ 2.048096] (2:worker@Tremblay) I'm done. See you!
31 > [ 2.050361] (3:worker@Tremblay) I'm done. See you!
32 > [ 2.050557] (4:worker@Tremblay) I'm done. See you!
33 > [ 2.050752] (5:worker@Tremblay) I'm done. See you!
34 > [ 2.050947] (6:worker@Tremblay) I'm done. See you!
35 > [ 2.051142] (7:worker@Tremblay) I'm done. See you!
36 > [ 2.051142] (0:maestro@) Simulation time 2.05114