Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics in the energy plugin
[simgrid.git] / examples / msg / energy-ptask / energy-ptask.tesh
1 #! ./tesh
2
3 $ ${bindir:=.}/energy-ptask/energy-ptask$EXEEXT ${srcdir:=.}/../platforms/energy_platform.xml --energy "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
4 > [  0.000000] (0:maestro@) Switching to the L07 model to handle parallel tasks.
5 > [  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
6 > [300.000000] (1:test@MyHost1) We can do the same with a timeout of one second enabled.
7 > [301.000000] (1:test@MyHost1) Then, build a parallel task involving only computations and no communication (1 Gflop per node)
8 > [311.000000] (1:test@MyHost1) Then, build a parallel task with no computation nor communication (synchro only)
9 > [311.000000] (1:test@MyHost1) Finally, trick the ptask to do a 'remote execution', on host MyHost2
10 > [321.000000] (1:test@MyHost1) Goodbye now!
11 > [321.000000] (0:maestro@) Total energy consumption: 115160.000000 Joules (used hosts: 115160.000000 Joules; unused/idle hosts: 0.000000)
12 > [321.000000] (0:maestro@) Simulation done.
13 > [321.000000] (0:maestro@) Energy consumption of host MyHost1: 38320.000000 Joules
14 > [321.000000] (0:maestro@) Energy consumption of host MyHost2: 38520.000000 Joules
15 > [321.000000] (0:maestro@) Energy consumption of host MyHost3: 38320.000000 Joules