Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
7b22e8ebe691e57932a3fe59ab1e07edfb9c13b9
[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/cpu_threshold:-1 ${bindir:=.}/se --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/cpu_threshold' to '-1'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'plugin' to 'Energy'
8 > [0.000000] [surf_config/INFO] Switching host model to compound since you changed the network and/or cpu model(s)
9 > [0.000000] [rank 1] Pstates: 1; Powers: 100000000
10 > [0.000000] [rank 0] Pstates: 3; Powers: 100000000, 50000000, 20000000
11 > [0.000000] [rank 1] Current pstate: 0; Current power: 100000000
12 > [0.000000] [rank 0] Current pstate: 0; Current power: 100000000
13 > [10.000000] [rank 1] Energy consumed: 2000 Joules.
14 > [10.000000] [rank 0] Energy consumed: 2000 Joules.
15 > [10.000000] [rank 0] Current pstate: 1; Current power: 50000000
16 > [30.000000] [rank 0] Energy consumed: 5400 Joules.
17 > [30.000000] [rank 0] Current pstate: 2; Current power: 20000000
18 > [80.000000] [rank 0] Energy consumed: 12900 Joules.
19 > [80.000000] [surf_energy/INFO] Total energy of host MyHost1: 12900.000000 Joules
20 > [80.000000] [surf_energy/INFO] Total energy of host MyHost2: 9000.000000 Joules