1 p Test smpi bindings for dvfs functions (Fortran 90 example)
3 $ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/platform.xml --cfg=smpi/cpu_threshold:-1 ${bindir:=.}/f90/sef90 --cfg=plugin:Energy --log=smpi_kernel.thres:warning
4 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-3'
5 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9'
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '-1'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'plugin' to 'Energy'
10 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
11 > [80.000000] [surf_energy/INFO] Total energy (Joules) of host MyHost1: 12900.000000
12 > [80.000000] [surf_energy/INFO] Total energy (Joules) of host MyHost2: 2000.000000
13 > [ 0.0000000000000000 ] [rank 0 ] 3 pstates available
14 > [ 0.0000000000000000 ] [rank 1 ] 1 pstates available
15 > [ 0.0000000000000000 ] [rank 0 ] Power: 100000000.00000000
16 > [ 0.0000000000000000 ] [rank 1 ] Power: 100000000.00000000
17 > [ 0.0000000000000000 ] [rank 0 ] Power: 50000000.000000000
18 > [ 0.0000000000000000 ] [rank 0 ] Power: 20000000.000000000
19 > [ 0.0000000000000000 ] [rank 1 ] Current pstate: 0 ; Current power: 100000000.00000000
20 > [ 0.0000000000000000 ] [rank 0 ] Current pstate: 0 ; Current power: 100000000.00000000
21 > [ 10.000000000000000 ] [rank 0 ] Energy consumed (Joules): 2000.0000000000000
22 > [ 10.000000000000000 ] [rank 1 ] Energy consumed (Joules): 2000.0000000000000
23 > [ 10.000000000000000 ] [rank 0 ] Current pstate: 1 ; Current power: 50000000.000000000
24 > [ 30.000000000000000 ] [rank 0 ] Energy consumed (Joules): 5400.0000000000000
25 > [ 30.000000000000000 ] [rank 0 ] Current pstate: 2 ; Current power: 20000000.000000000
26 > [ 80.000000000000000 ] [rank 0 ] Energy consumed (Joules): 12900.000000000000