Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
4ab3300d5daddbd56468fe53fb9fbd6ec2343736
[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] [rank 1] Pstates: 1; Powers: 100000000
9 > [0.000000] [rank 0] Pstates: 3; Powers: 100000000, 50000000, 20000000
10 > [0.000000] [rank 1] Current pstate: 0; Current power: 100000000
11 > [0.000000] [rank 0] Current pstate: 0; Current power: 100000000
12 > [10.000000] [rank 1] Energy consumed: 2000 Joules.
13 > [10.000000] [rank 0] Energy consumed: 2000 Joules.
14 > [10.000000] [rank 0] Current pstate: 1; Current power: 50000000
15 > [30.000000] [rank 0] Energy consumed: 5400 Joules.
16 > [30.000000] [rank 0] Current pstate: 2; Current power: 20000000
17 > [80.000000] [rank 0] Energy consumed: 12900 Joules.
18 > [80.000000] [surf_energy/INFO] Total energy of host MyHost1: 12900.000000 Joules
19 > [80.000000] [surf_energy/INFO] Total energy of host MyHost2: 9000.000000 Joules