File: app-masterworker-multicore.tesh

package info (click to toggle)
simgrid 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,980 kB
  • sloc: cpp: 123,583; ansic: 66,779; python: 8,358; java: 6,406; fortran: 6,079; f90: 5,123; xml: 4,587; sh: 2,337; perl: 1,436; makefile: 105; lisp: 49; javascript: 7; sed: 6
file content (36 lines) | stat: -rw-r--r-- 2,647 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env tesh

p Testing a simple master/worker example application

$ ./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"
> [  0.000000] (0:maestro@) Configuration change: Set 'cpu/model' to 'Cas01'
> [  0.000000] (0:maestro@) Configuration change: Set 'cpu/optim' to 'Full'
> [  0.000000] (1:master@Tremblay) Got 6 workers and 20 tasks to process
> [  0.000000] (1:master@Tremblay) Sending "Task_0" (of 20) to mailbox "worker-0"
> [  0.000103] (1:master@Tremblay) Sending "Task_1" (of 20) to mailbox "worker-1"
> [  0.000206] (1:master@Tremblay) Sending "Task_2" (of 20) to mailbox "worker-2"
> [  0.000309] (1:master@Tremblay) Sending "Task_3" (of 20) to mailbox "worker-3"
> [  0.000412] (1:master@Tremblay) Sending "Task_4" (of 20) to mailbox "worker-4"
> [  0.000515] (1:master@Tremblay) Sending "Task_5" (of 20) to mailbox "worker-5"
> [  0.000619] (1:master@Tremblay) Sending "Task_6" (of 20) to mailbox "worker-0"
> [  0.509916] (1:master@Tremblay) Sending "Task_7" (of 20) to mailbox "worker-1"
> [  0.510019] (1:master@Tremblay) Sending "Task_8" (of 20) to mailbox "worker-2"
> [  0.510122] (1:master@Tremblay) Sending "Task_9" (of 20) to mailbox "worker-3"
> [  0.510225] (1:master@Tremblay) Sending "Task_10" (of 20) to mailbox "worker-4"
> [  0.510329] (1:master@Tremblay) Sending "Task_11" (of 20) to mailbox "worker-5"
> [  0.510432] (1:master@Tremblay) Sending "Task_12" (of 20) to mailbox "worker-0"
> [  1.019729] (1:master@Tremblay) Sending "Task_13" (of 20) to mailbox "worker-1"
> [  1.019832] (1:master@Tremblay) Sending "Task_14" (of 20) to mailbox "worker-2"
> [  1.019935] (1:master@Tremblay) Sending "Task_15" (of 20) to mailbox "worker-3"
> [  1.020039] (1:master@Tremblay) Sending "Task_16" (of 20) to mailbox "worker-4"
> [  1.020142] (1:master@Tremblay) Sending "Task_17" (of 20) to mailbox "worker-5"
> [  1.020245] (1:master@Tremblay) Sending "Task_18" (of 20) to mailbox "worker-0"
> [  1.529542] (1:master@Tremblay) Sending "Task_19" (of 20) to mailbox "worker-1"
> [  1.529645] (1:master@Tremblay) All tasks have been dispatched. Let's tell everybody the computation is over.
> [  2.039252] (2:worker@Tremblay) I'm done. See you!
> [  2.039355] (3:worker@Tremblay) I'm done. See you!
> [  2.039355] (4:worker@Tremblay) I'm done. See you!
> [  2.039355] (5:worker@Tremblay) I'm done. See you!
> [  2.039355] (6:worker@Tremblay) I'm done. See you!
> [  2.039355] (7:worker@Tremblay) I'm done. See you!
> [  2.039355] (0:maestro@) Simulation time 2.03936