File: app-masterworker.tesh

package info (click to toggle)
simgrid 3.21%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,972 kB
  • sloc: cpp: 88,193; ansic: 69,244; fortran: 6,089; f90: 5,162; xml: 4,861; java: 4,250; perl: 2,056; python: 1,193; sh: 1,159; makefile: 57; sed: 6
file content (20 lines) | stat: -rw-r--r-- 1,773 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env tesh

$ java -classpath ${classpath:=.} app/masterworker/Main ${srcdir:=.}/../platforms/small_platform.xml ${srcdir:=.}/app/masterworker/masterworker.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [  0.000000] (0:maestro@) Using regular java threads.
> [  0.000000] (1:app.masterworker.Master@Jacquelin) Hello! My PID is 1. Got 7 workers and 5 tasks to process
> [  0.860026] (2:app.masterworker.Worker@Tremblay) Received "Task_0". Processing it (my pid is 2).
> [  1.752187] (3:app.masterworker.Worker@Fafard) Received "Task_1". Processing it (my pid is 3).
> [  1.757531] (4:app.masterworker.Worker@Bourassa) Received "Task_2". Processing it (my pid is 4).
> [  2.806417] (5:app.masterworker.Worker@Boivin) Received "Task_3". Processing it (my pid is 5).
> [  2.811761] (6:app.masterworker.Worker@Ginette) Received "Task_4". Processing it (my pid is 6).
> [  2.811761] (1:app.masterworker.Master@Jacquelin) All tasks have been dispatched. Let's tell everybody the computation is over.
> [  3.671783] (2:app.masterworker.Worker@Tremblay) Received Finalize. I'm done. See you!
> [  4.563940] (3:app.masterworker.Worker@Fafard) Received Finalize. I'm done. See you!
> [  4.569280] (4:app.masterworker.Worker@Bourassa) Received Finalize. I'm done. See you!
> [  5.618161] (5:app.masterworker.Worker@Boivin) Received Finalize. I'm done. See you!
> [  5.623501] (6:app.masterworker.Worker@Ginette) Received Finalize. I'm done. See you!
> [  5.628842] (7:app.masterworker.Worker@Jupiter) Received Finalize. I'm done. See you!
> [  5.629037] (8:app.masterworker.Worker@Jacquelin) Received Finalize. I'm done. See you!
> [  5.629037] (1:app.masterworker.Master@Jacquelin) Goodbye now!
> [  5.629037] (0:maestro@) MSG_main finished; Terminating the simulation...