Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert the MasterWorker to python, in preparation to the tutorial PyConvertion
[simgrid.git] / examples / python / app-masterworkers / app-masterworkers.tesh
1 #!/usr/bin/env tesh
2
3 p Testing a simple master/workers example application
4
5 ! output sort 19
6 $ ${pythoncmd:=python3} ${PYTHON_TOOL_OPTIONS:=} ${bindir:=.}/app-masterworkers.py ${platfdir}/small_platform.xml app-masterworkers_d.xml --trace "--log=root.fmt:[%10.6r]%e(%a@%h)%e%m%n"
7 > [  0.000000] (master@Tremblay) Got 5 workers and 20 tasks to process
8 > [  0.000000] (master@Tremblay) Sending task 0 of 20 to mailbox 'Tremblay'
9 > [  0.002265] (master@Tremblay) Sending task 1 of 20 to mailbox 'Jupiter'
10 > [  0.171420] (master@Tremblay) Sending task 2 of 20 to mailbox 'Fafard'
11 > [  0.329817] (master@Tremblay) Sending task 3 of 20 to mailbox 'Ginette'
12 > [  0.453549] (master@Tremblay) Sending task 4 of 20 to mailbox 'Bourassa'
13 > [  0.586168] (master@Tremblay) Sending task 5 of 20 to mailbox 'Tremblay'
14 > [  0.588433] (master@Tremblay) Sending task 6 of 20 to mailbox 'Jupiter'
15 > [  0.995917] (master@Tremblay) Sending task 7 of 20 to mailbox 'Fafard'
16 > [  1.154314] (master@Tremblay) Sending task 8 of 20 to mailbox 'Ginette'
17 > [  1.608379] (master@Tremblay) Sending task 9 of 20 to mailbox 'Bourassa'
18 > [  1.749885] (master@Tremblay) Sending task 10 of 20 to mailbox 'Tremblay'
19 > [  1.752150] (master@Tremblay) Sending task 11 of 20 to mailbox 'Jupiter'
20 > [  1.921304] (master@Tremblay) Sending task 12 of 20 to mailbox 'Fafard'
21 > [  2.079701] (master@Tremblay) Sending task 13 of 20 to mailbox 'Ginette'
22 > [  2.763209] (master@Tremblay) Sending task 14 of 20 to mailbox 'Bourassa'
23 > [  2.913601] (master@Tremblay) Sending task 15 of 20 to mailbox 'Tremblay'
24 > [  2.915867] (master@Tremblay) Sending task 16 of 20 to mailbox 'Jupiter'
25 > [  3.085021] (master@Tremblay) Sending task 17 of 20 to mailbox 'Fafard'
26 > [  3.243418] (master@Tremblay) Sending task 18 of 20 to mailbox 'Ginette'
27 > [  3.918038] (master@Tremblay) Sending task 19 of 20 to mailbox 'Bourassa'
28 > [  4.077318] (master@Tremblay) All tasks have been dispatched. Request all workers to stop.
29 > [  4.077513] (worker@Tremblay) Exiting now.
30 > [  4.096528] (worker@Jupiter) Exiting now.
31 > [  4.122236] (worker@Fafard) Exiting now.
32 > [  4.965689] (worker@Ginette) Exiting now.
33 > [  5.133855] (maestro@) Simulation is over
34 > [  5.133855] (worker@Bourassa) Exiting now.