Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / examples / smpi / energy / energy.tesh
1 p Test smpi bindings for dvfs functions (C example)
2 $ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile  -platform ${srcdir:=.}/../../platforms/energy_platform.xml --cfg=smpi/simulate-computation:no ${bindir:=.}/smpi_energy --cfg=plugin:Energy --log=smpi_kernel.thres:warning
3 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
4 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP-gamma' to '4194304'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/simulate-computation' to 'no'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'plugin' to 'Energy'
8 > [0.000000] [rank 0] Pstates: 3; Powers: 100000000, 50000000, 20000000
9 > [0.000000] [rank 1] Pstates: 3; Powers: 100000000, 50000000, 20000000
10 > [0.000000] [rank 0] Current pstate: 0; Current power: 100000000
11 > [0.000000] [rank 1] Current pstate: 0; Current power: 100000000
12 > [10.000000] [rank 0] Energy consumed: 1200 Joules.
13 > [10.000000] [rank 1] Energy consumed: 1200 Joules.
14 > [10.000000] [rank 0] Current pstate: 1; Current power: 50000000
15 > [10.000000] [rank 1] Current pstate: 1; Current power: 50000000
16 > [30.000000] [rank 0] Energy consumed: 3400 Joules.
17 > [30.000000] [rank 1] Energy consumed: 3400 Joules.
18 > [30.000000] [rank 0] Current pstate: 2; Current power: 20000000
19 > [30.000000] [rank 1] Current pstate: 2; Current power: 20000000
20 > [80.000000] [rank 0] Energy consumed: 8650 Joules.
21 > [80.000000] [rank 1] Energy consumed: 8650 Joules.
22 > [80.000000] [surf_energy/INFO] Total energy consumption: 25300.000000 Joules (used hosts: 17300.000000 Joules; unused/idle hosts: 8000.000000)
23 > [80.000000] [surf_energy/INFO] Energy consumption of host MyHost1: 8650.000000 Joules
24 > [80.000000] [surf_energy/INFO] Energy consumption of host MyHost2: 8650.000000 Joules
25 > [80.000000] [surf_energy/INFO] Energy consumption of host MyHost3: 8000.000000 Joules