Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simplify the exec-ptask example
[simgrid.git] / examples / s4u / exec-ptask / s4u-exec-ptask.tesh
1 #!/usr/bin/env tesh
2
3 $ ${bindir:=.}/s4u-exec-ptask$EXEEXT ${platfdir}/energy_platform.xml --cfg=host/model:ptask_L07 --cfg=tracing:yes --cfg=tracing/uncategorized:yes --log=instr_resource.t:debug --log=no_loc "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
4 > [  0.000000] (0:maestro@) Configuration change: Set 'host/model' to 'ptask_L07'
5 > [  0.000000] (0:maestro@) Configuration change: Set 'tracing' to 'yes'
6 > [  0.000000] (0:maestro@) Configuration change: Set 'tracing/uncategorized' to 'yes'
7 > [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
8 > [  0.000000] (1:test@MyHost1) First, build a classical parallel task, with 1 Gflop to execute on each node, and 10MB to exchange between each pair
9 > [300.000000] (0:maestro@) UNCAT HOST [0.000000 - 300.000000] MyHost1 speed_used 3333333.333333
10 > [300.000000] (0:maestro@) UNCAT HOST [0.000000 - 300.000000] MyHost2 speed_used 3333333.333333
11 > [300.000000] (0:maestro@) UNCAT HOST [0.000000 - 300.000000] MyHost3 speed_used 3333333.333333
12 > [300.000000] (0:maestro@) UNCAT LINK [0.000000 - 300.000000] bus bandwidth_used 100000.000000
13 > [300.000000] (1:test@MyHost1) We can do the same with a timeout of 10 seconds enabled.
14 > [310.000000] (1:test@MyHost1) Caught the expected timeout exception.
15 > [310.000000] (1:test@MyHost1) Then, build a parallel task involving only computations (of different amounts) and no communication
16 > [320.000000] (0:maestro@) UNCAT HOST [310.000000 - 320.000000] MyHost1 speed_used 30000000.000000
17 > [320.000000] (0:maestro@) UNCAT HOST [310.000000 - 320.000000] MyHost2 speed_used 60000000.000000
18 > [320.000000] (0:maestro@) UNCAT HOST [310.000000 - 320.000000] MyHost3 speed_used 100000000.000000
19 > [320.000000] (1:test@MyHost1) Then, build a parallel task with no computation nor communication (synchro only)
20 > [320.000000] (1:test@MyHost1) Goodbye now!
21 > [320.000000] (0:maestro@) Simulation done.