Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[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
16 p Another SMPI test
17 $ ../../bin/smpirun -trace -trace-resource -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
18 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
19 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
20 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
21 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
22 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'smpi_traced.trace'
23 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
24 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to '1'
25 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to '1'
26 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
27
28 p Testing without trace parameters
29 $ ../../bin/smpirun -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
30 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
31 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
32 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
33 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
34
35 p Testing grouped tracing
36 $ ../../bin/smpirun -trace -trace-grouped -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced_simple
37 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
38 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
39 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
40 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
41 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'smpi_traced.trace'
42 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
43 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi/group' to '1'
44 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
45
46 p Testing generation of triva configuration files
47 $ ../../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
48 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
49 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
50 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
51 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
52 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/filename' to 'smpi_traced.trace'
53 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
54 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/categorized' to '1'
55 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/uncategorized' to '1'
56 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'triva/categorized' to 'smpi_cat.plist'
57 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'triva/uncategorized' to 'smpi_uncat.plist'
58 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
59 > [1.003981] [instr_config/INFO] No categories declared, ignoring generation of triva graph configuration
60
61 p Testing with parameters but without activating them with the safe switch (-trace)
62 $ ../../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
63 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
64 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
65 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
66 > [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
67
68 $ rm -f smpi_traced.trace smpi_uncat.plist smpi_cat.plist