Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add example for smpi+dvfs.
[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:=.}/platform.xml --cfg=smpi/cpu_threshold:-1 ${bindir:=.}/se
3 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/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] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
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.