Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
8c7e2049eb29f02e60d008c75309244665fd2243
[simgrid.git] / examples / smpi / energy / energy.tesh
1 p Test smpi bindings for dvfs functions (C example)
2 ! output sort
3 $ ${bindir:=.}/../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile  -platform ${platfdir}/energy_platform.xml --cfg=smpi/simulate-computation:no ${bindir:=.}/../examples/smpi/energy/smpi_energy --cfg=plugin:host_energy --log=smpi_config.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/wtime:0
4 > [0.000000] [rank 0] Pstates: 3; Powers: 100000000, 50000000, 20000000
5 > [0.000000] [rank 1] Pstates: 3; Powers: 100000000, 50000000, 20000000
6 > [0.000000] [rank 0] Current pstate: 0; Current power: 100000000
7 > [0.000000] [rank 1] Current pstate: 0; Current power: 100000000
8 > [10.000000] [rank 0] Energy consumed: 1200 Joules.
9 > [10.000000] [rank 1] Energy consumed: 2000 Joules.
10 > [10.000000] [rank 0] Current pstate: 1; Current power: 50000000
11 > [10.000000] [rank 1] Current pstate: 1; Current power: 50000000
12 > [30.000000] [rank 0] Energy consumed: 3400 Joules.
13 > [30.000000] [rank 1] Energy consumed: 5400 Joules.
14 > [30.000000] [rank 0] Current pstate: 2; Current power: 20000000
15 > [30.000000] [rank 1] Current pstate: 2; Current power: 20000000
16 > [80.000000] [rank 0] Energy consumed: 8650 Joules.
17 > [80.000000] [rank 1] Energy consumed: 12900 Joules.
18 > [80.000000] [surf_energy/INFO] Total energy consumption: 29550.000000 Joules (used hosts: 21550.000000 Joules; unused/idle hosts: 8000.000000)
19 > [80.000000] [surf_energy/INFO] Energy consumption of host MyHost1: 8650.000000 Joules
20 > [80.000000] [surf_energy/INFO] Energy consumption of host MyHost2: 12900.000000 Joules
21 > [80.000000] [surf_energy/INFO] Energy consumption of host MyHost3: 8000.000000 Joules