File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,11 @@ export HWLOC_FSROOT=//
62
62
63
63
echo " Saving current system topology to XML..."
64
64
# ignore DAXDevice info attr because it won't appear in save2.xml unless we pass --io to gather below
65
- if ! " $lstopo " --no-io -.xml | grep -v DAXDevice > " $tmpdir /save1.xml" ; then
65
+ if ! " $lstopo " --no-io -.xml \
66
+ | sed -e ' s/ id="obj[0-9]*"//' \
67
+ | sed -e ' s/ gp_index="[0-9]*"//' \
68
+ | grep -v DAXDevice \
69
+ > " $tmpdir /save1.xml" ; then
66
70
error " Failed"
67
71
exit 1
68
72
fi
@@ -85,7 +89,10 @@ export HWLOC_FSROOT="$tmpdir/save"
85
89
rm -f " $tmpdir /save/proc/hwloc-nofile-info"
86
90
87
91
echo " Saving tarball topology to XML..."
88
- if ! " $lstopo " --no-io " $tmpdir /save2.xml" ; then
92
+ if ! " $lstopo " --no-io -.xml \
93
+ | sed -e ' s/ id="obj[0-9]*"//' \
94
+ | sed -e ' s/ gp_index="[0-9]*"//' \
95
+ > " $tmpdir /save2.xml" ; then
89
96
error " Failed"
90
97
exit 1
91
98
fi
You can’t perform that action at this time.
0 commit comments