From: Arnaud Giersch Date: Fri, 14 Feb 2014 09:42:09 +0000 (+0100) Subject: Sort output on 1st char to distinguish kernel output from application output. X-Git-Tag: v3_11_beta~32 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d359cda163299848e768ceec04f1b29194f91d2b Sort output on 1st char to distinguish kernel output from application output. Application output comes from stdout and sometimes does not interleave well with xbt log output which come from stderr. --- diff --git a/examples/smpi/energy/f77/energy.tesh b/examples/smpi/energy/f77/energy.tesh index da763605dd..c23f3f8a53 100644 --- a/examples/smpi/energy/f77/energy.tesh +++ b/examples/smpi/energy/f77/energy.tesh @@ -1,4 +1,5 @@ p Test smpi bindings for dvfs functions (Fortran 77 example) +! output sort 1 $ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/platform.xml --cfg=smpi/cpu_threshold:-1 ${bindir:=.}/f77/sef --cfg=plugin:Energy --log=smpi_kernel.thres:warning > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9' > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI' diff --git a/examples/smpi/energy/f90/energy.tesh b/examples/smpi/energy/f90/energy.tesh index c8f58fed09..c39d8bd560 100644 --- a/examples/smpi/energy/f90/energy.tesh +++ b/examples/smpi/energy/f90/energy.tesh @@ -1,4 +1,5 @@ p Test smpi bindings for dvfs functions (Fortran 90 example) +! output sort 1 $ ../../../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 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9' > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI' @@ -6,6 +7,8 @@ $ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platf > [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 @@ -20,5 +23,3 @@ $ ../../../smpi_script/bin/smpirun -np 2 -hostfile ${srcdir:=.}/hostfile -platf > [ 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 -> [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