Skip to content

Commit 3628708

Browse files
committed
Changes to make devel/system-test work again.
1 parent d95c278 commit 3628708

File tree

4 files changed

+38
-24
lines changed

4 files changed

+38
-24
lines changed

devel/system-test/daemon-withoutStats.conf

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#CONFIG Process
22

3-
# This configuration contains
4-
# 1) statistics collector and plugins
3+
# This configuration contains
4+
# 1) statistics collector and plugins
55
# 2) Activity network forwarder server to receive data
66
# 3) Activity multiplexer and potentially plugins
77

@@ -54,14 +54,27 @@
5454
<ConsoleReporterOptions>
5555
</ConsoleReporterOptions>
5656

57+
<LoadModule>
58+
<componentID>6</componentID>
59+
<name>siox-monitoring-RamTopology</name>
60+
<path></path>
61+
<interface>monitoring_topology</interface>
62+
</LoadModule>
63+
<RamTopologyOptions>
64+
</RamTopologyOptions>
65+
5766

5867
<LoadModule>
59-
<componentID>6</componentID>
68+
<componentID>66</componentID>
6069
<name>siox-knowledge-DereferencingFacade</name>
6170
<path></path>
6271
<interface>monitoring_activity_plugin_dereferencing</interface>
6372
</LoadModule>
6473
<DereferencingFacadeOptions>
74+
<topology>
75+
<componentID>6</componentID>
76+
<global>0</global>
77+
</topology>
6578
<ontology>
6679
<componentID>2</componentID>
6780
<global>0</global>
@@ -97,7 +110,7 @@
97110
<global>0</global>
98111
</multiplexer>
99112
<dereferenceFacade>
100-
<componentID>6</componentID>
113+
<componentID>66</componentID>
101114
<global>0</global>
102115
</dereferenceFacade>
103116
<Container></Container>

devel/system-test/daemon.conf

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#CONFIG Process
22

3-
# This configuration contains
4-
# 1) statistics collector and plugins
3+
# This configuration contains
4+
# 1) statistics collector and plugins
55
# 2) Activity network forwarder server to receive data
66
# 3) Activity multiplexer and potentially plugins
77

@@ -158,18 +158,18 @@
158158
<interface>monitoring_statistics_collector</interface>
159159
</LoadModule>
160160
<ThreadedStatisticsOptions>
161-
<dereferencingFacade>
162-
<componentID>66</componentID>
163-
<global>0</global>
164-
</dereferencingFacade>
165-
<ontology>
166-
<componentID>2</componentID>
167-
<global>0</global>
168-
</ontology>
169-
<smux>
170-
<componentID>100</componentID>
171-
<global>0</global>
172-
</smux>
161+
<topology>
162+
<componentID>6</componentID>
163+
<global>0</global>
164+
</topology>
165+
<ontology>
166+
<componentID>2</componentID>
167+
<global>0</global>
168+
</ontology>
169+
<smux>
170+
<componentID>100</componentID>
171+
<global>0</global>
172+
</smux>
173173
</ThreadedStatisticsOptions>
174174

175175
<LoadModule>

devel/system-test/run.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/bin/bash -ex
22

3-
export LD_LIBRARY_PATH=/usr/local/siox/lib/
4-
export PATH=/usr/local/siox/bin:$PATH
3+
# export LD_LIBRARY_PATH=/usr/local/siox/lib/
4+
# export PATH=/usr/local/siox/bin:$PATH
55

66
echo "Running daemon"
77
rm *.dat /tmp/daemon.socket 2>/dev/null || true
88
killall siox-daemon || true
99

10-
siox-daemon --configEntry=daemon.conf &
10+
siox-daemon --configEntry=daemon-withoutStats.conf &
11+
# siox-daemon --configEntry=daemon.conf &
1112

1213
echo "Compiling"
1314
siox-inst posix wrap gcc -g -Wall fwrite.c -o fwrite-wrapped
@@ -29,14 +30,14 @@ echo "Running IOR"
2930
echo Without wrapper run: mpiexec -np 4 --env=LD_PRELOAD="/usr/local/siox/lib/libsiox-mpi-dlsym.so /usr/local/siox/lib/libsiox-posix-dlsym.so" ...
3031

3132
export SIOX_REPORTING_FILENAME=ior-report.txt
32-
mpiexec -np 4 ./ior.wrapped -v -o testfile -s 10 -i 1 -f ior.conf
33+
mpiexec -np 4 ./ior.wrapped -v -o testfile -s 10 -i 1 -f ior.conf
3334
mpiexec -np 4 -env=LD_PRELOAD="/usr/local/siox/lib/libsiox-mpi-dlsym.so /usr/local/siox/lib/libsiox-posix-dlsym.so" ./ior.normal -v -o testfile -s 10 -i 1 -f ior.conf
3435

3536

3637
echo "Run completed!"
3738

3839

39-
echo
40+
echo
4041
echo "Trace output"
4142

4243
siox-trace-reader

tools/siox-skeleton-builder/layers/mpi/mpi-wrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ End of global part
6969
// All processes record the pid of Rank 0 then.
7070

7171
#ifndef OPTIONAL_CONST
72-
#define OPTIONAL_CONST const
72+
#define OPTIONAL_CONST
7373
#endif
7474

7575
//@callLibraryInitialize

0 commit comments

Comments
 (0)