Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge conflict resolved
[simgrid.git] / examples / smpi / tracing / smpi_traced.tesh
1 # use the tested library, not the installed one
2 # (since we want to pass it to the child, it has to be redefined before each command)
3 # Go for the first test
4 p Test instrumentation of SMPI
5 $ ../../bin/smpirun -trace -trace-resource -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced 
6 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
7 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
8 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
9 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
10 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'smpi_traced.trace'
11 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
12 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to '1'
13 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to '1'
14 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
15 > [0.000000] [instr_config/INFO] Tracing resource utilization active, network/optim configuration now set to Full.
16
17
18 p Another SMPI test
19 $ ../../bin/smpirun -trace -trace-resource -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
20 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
21 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
22 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
23 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
24 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'smpi_traced.trace'
25 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
26 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to '1'
27 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to '1'
28 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
29 > [0.000000] [instr_config/INFO] Tracing resource utilization active, network/optim configuration now set to Full.
30
31 p Testing without trace parameters
32 $ ../../bin/smpirun -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
33 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
34 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
35 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
36 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
37
38 p Testing grouped tracing
39 $ ../../bin/smpirun -trace -trace-grouped -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
40 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
41 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
42 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
43 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
44 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'smpi_traced.trace'
45 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
46 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi/group' to '1'
47 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
48
49 p Testing generation of triva configuration files
50 $ ../../bin/smpirun -trace -trace-resource -trace-triva -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
51 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
52 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
53 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
54 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
55 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'smpi_traced.trace'
56 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
57 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to '1'
58 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to '1'
59 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'triva/categorized' to 'smpi_cat.plist'
60 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'triva/uncategorized' to 'smpi_uncat.plist'
61 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
62 > [0.000000] [instr_config/INFO] Tracing resource utilization active, network/optim configuration now set to Full.
63 > [1.003981] [instr_config/INFO] No categories declared, ignoring generation of triva graph configuration
64
65 p Testing with parameters but without activating them with the safe switch (-trace)
66 $ ../../bin/smpirun -trace-resource -trace-triva -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
67 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
68 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
69 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
70 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
71
72 $ rm -f smpi_traced.trace smpi_uncat.plist smpi_cat.plist