X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/54d4ff58bbfaef1fdb2ec9e49ce4598e459d8355..51c23076e2b42ff07dc167dea1cb0e3a4ab3cf68:/examples/smpi/energy/f90/energy.tesh diff --git a/examples/smpi/energy/f90/energy.tesh b/examples/smpi/energy/f90/energy.tesh index 7b750ef509..5394bfcd07 100644 --- a/examples/smpi/energy/f90/energy.tesh +++ b/examples/smpi/energy/f90/energy.tesh @@ -1,25 +1,27 @@ p Test smpi bindings for dvfs functions (Fortran 90 example) -! output sort 1 -$ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../../platforms/energy_platform.xml --cfg=smpi/cpu_threshold:-1 ${bindir:=.}/f90/sef90 --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 'plugin' to 'Energy' -> [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s) -> [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 -> [ 0.0000000000000000 ] [rank 0 ] 3 pstates available -> [ 0.0000000000000000 ] [rank 1 ] 1 pstates available -> [ 0.0000000000000000 ] [rank 0 ] Power: 100000000.00000000 -> [ 0.0000000000000000 ] [rank 1 ] Power: 100000000.00000000 -> [ 0.0000000000000000 ] [rank 0 ] Power: 50000000.000000000 -> [ 0.0000000000000000 ] [rank 0 ] Power: 20000000.000000000 -> [ 0.0000000000000000 ] [rank 1 ] Current pstate: 0 ; Current power: 100000000.00000000 -> [ 0.0000000000000000 ] [rank 0 ] Current pstate: 0 ; Current power: 100000000.00000000 -> [ 10.000000000000000 ] [rank 1 ] Energy consumed (Joules): 2000.0000000000000 -> [ 10.000000000000000 ] [rank 0 ] Energy consumed (Joules): 2000.0000000000000 -> [ 10.000000000000000 ] [rank 0 ] Current pstate: 1 ; Current power: 50000000.000000000 -> [ 30.000000000000000 ] [rank 0 ] Energy consumed (Joules): 5400.0000000000000 -> [ 30.000000000000000 ] [rank 0 ] Current pstate: 2 ; Current power: 20000000.000000000 -> [ 80.000000000000000 ] [rank 0 ] Energy consumed (Joules): 12900.000000000000 + +$ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../../platforms/energy_platform.xml --cfg=smpi/simulate-computation:no ${bindir:=.}/f90/sef90 --cfg=plugin:host_energy --log=smpi_kernel.thres:warning --log=xbt_cfg.thres:warning +> [ 0.00000000] [rank 0] 3 pstates available +> [ 0.00000000] [rank 1] 3 pstates available +> [ 0.00000000] [rank 0] Power: 100000000.0000 +> [ 0.00000000] [rank 1] Power: 100000000.0000 +> [ 0.00000000] [rank 0] Power: 50000000.0000 +> [ 0.00000000] [rank 1] Power: 50000000.0000 +> [ 0.00000000] [rank 0] Power: 20000000.0000 +> [ 0.00000000] [rank 1] Power: 20000000.0000 +> [ 0.00000000] [rank 0] Current pstate: 0; Current power: 100000000.0000 +> [ 0.00000000] [rank 1] Current pstate: 0; Current power: 100000000.0000 +> [ 10.00000000] [rank 0] Energy consumed (Joules): 1200.0000 +> [ 10.00000000] [rank 1] Energy consumed (Joules): 2000.0000 +> [ 10.00000000] [rank 0] Current pstate: 1; Current power: 50000000.0000 +> [ 10.00000000] [rank 1] Current pstate: 1; Current power: 50000000.0000 +> [ 30.00000000] [rank 0] Energy consumed (Joules): 3400.0000 +> [ 30.00000000] [rank 1] Energy consumed (Joules): 5400.0000 +> [ 30.00000000] [rank 0] Current pstate: 2; Current power: 20000000.0000 +> [ 30.00000000] [rank 1] Current pstate: 2; Current power: 20000000.0000 +> [ 80.00000000] [rank 0] Energy consumed (Joules): 8650.0000 +> [ 80.00000000] [rank 1] Energy consumed (Joules): 12900.0000 +> [80.000000] [surf_energy/INFO] Total energy consumption: 29550.000000 Joules (used hosts: 21550.000000 Joules; unused/idle hosts: 8000.000000) +> [80.000000] [surf_energy/INFO] Energy consumption of host MyHost1: 8650.000000 Joules +> [80.000000] [surf_energy/INFO] Energy consumption of host MyHost2: 12900.000000 Joules +> [80.000000] [surf_energy/INFO] Energy consumption of host MyHost3: 8000.000000 Joules