Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ee32730c85668ab1c3d34f3b94d9d5f1d133e8c1
[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 'maxmin/precision' to '1e-3'
4 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '-1'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'plugin' to 'Energy'
9 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
10 > [0.000000] [rank 1] Pstates: 1; Powers: 100000000
11 > [0.000000] [rank 0] Pstates: 3; Powers: 100000000, 50000000, 20000000
12 > [0.000000] [rank 1] Current pstate: 0; Current power: 100000000
13 > [0.000000] [rank 0] Current pstate: 0; Current power: 100000000
14 > [10.000000] [rank 1] Energy consumed: 2000 Joules.
15 > [10.000000] [rank 0] Energy consumed: 2000 Joules.
16 > [10.000000] [rank 0] Current pstate: 1; Current power: 50000000
17 > [30.000000] [rank 0] Energy consumed: 5400 Joules.
18 > [30.000000] [rank 0] Current pstate: 2; Current power: 20000000
19 > [80.000000] [rank 0] Energy consumed: 12900 Joules.
20 > [80.000000] [surf_energy/INFO] Total energy (Joules) of host MyHost1: 12900.000000
21 > [80.000000] [surf_energy/INFO] Total energy (Joules) of host MyHost2: 2000.000000