X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49e85177c669d793e84242983a1b1f430e47184e..0f006bc6ea77c06645cdc324129c469e39224b61:/examples/smpi/energy/energy.tesh diff --git a/examples/smpi/energy/energy.tesh b/examples/smpi/energy/energy.tesh index c77fdd998a..b54624685a 100644 --- a/examples/smpi/energy/energy.tesh +++ b/examples/smpi/energy/energy.tesh @@ -1,20 +1,24 @@ p Test smpi bindings for dvfs functions (C example) -$ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/platform.xml --cfg=smpi/cpu_threshold:-1 ${bindir:=.}/se --cfg=plugin:Energy --log=smpi_kernel.thres:warning -> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9' +$ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../../platforms/energy_platform.xml --cfg=smpi/simulate-computation:no ${bindir:=.}/smpi_energy --cfg=plugin:Energy --log=smpi_kernel.thres:warning +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'surf/precision' to '1e-9' > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI' -> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304' -> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/cpu_threshold' to '-1' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP-gamma' to '4194304' +> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'smpi/simulate-computation' to 'no' > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'plugin' to 'Energy' -> [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s) -> [0.000000] [rank 1] Pstates: 1; Powers: 100000000 > [0.000000] [rank 0] Pstates: 3; Powers: 100000000, 50000000, 20000000 -> [0.000000] [rank 1] Current pstate: 0; Current power: 100000000 +> [0.000000] [rank 1] Pstates: 3; Powers: 100000000, 50000000, 20000000 > [0.000000] [rank 0] Current pstate: 0; Current power: 100000000 -> [10.000000] [rank 1] Energy consumed: 2000 Joules. -> [10.000000] [rank 0] Energy consumed: 2000 Joules. +> [0.000000] [rank 1] Current pstate: 0; Current power: 100000000 +> [10.000000] [rank 0] Energy consumed: 1200 Joules. +> [10.000000] [rank 1] Energy consumed: 1200 Joules. > [10.000000] [rank 0] Current pstate: 1; Current power: 50000000 -> [30.000000] [rank 0] Energy consumed: 5400 Joules. +> [10.000000] [rank 1] Current pstate: 1; Current power: 50000000 +> [30.000000] [rank 0] Energy consumed: 3400 Joules. +> [30.000000] [rank 1] Energy consumed: 3400 Joules. > [30.000000] [rank 0] Current pstate: 2; Current power: 20000000 -> [80.000000] [rank 0] Energy consumed: 12900 Joules. -> [80.000000] [surf_energy/INFO] Total energy (Joules) of host MyHost1: 12900.000000 -> [80.000000] [surf_energy/INFO] Total energy (Joules) of host MyHost2: 2000.000000 +> [30.000000] [rank 1] Current pstate: 2; Current power: 20000000 +> [80.000000] [rank 0] Energy consumed: 8650 Joules. +> [80.000000] [rank 1] Energy consumed: 8650 Joules. +> [80.000000] [surf_energy/INFO] Total energy of host MyHost1: 8650.000000 Joules +> [80.000000] [surf_energy/INFO] Total energy of host MyHost2: 8650.000000 Joules +> [80.000000] [surf_energy/INFO] Total energy of host MyHost3: 8000.000000 Joules