<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello</p>
<p>Please note that netloc is dead. We stopped
developing/maintaining it several years ago, and it's already
removed from the hwloc git master branch.</p>
<p>IIRC <a class="moz-txt-link-freetext" href="https://mvapich.cse.ohio-state.edu/userguide/osu-inam/">https://mvapich.cse.ohio-state.edu/userguide/osu-inam/</a> could
help here, no idea if it's still maintained.</p>
<p>Brice<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 20/09/2023 à 15:07, John Hearns a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAPqNE2UXLoU7XFPJ11OB1GGA_hnOWHfp99GYFfR_3O+8sr1_0A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">netloc is the tool you want to use.
<div dir="auto">Look in the latest hwloc dovumentation</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, 20 Sep 2023, 13:55
John Hearns, <<a href="mailto:hearnsj@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">hearnsj@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">I did manage to get the graphical netloc
utility working once. Part of the hwloc/openmpi project.
<div dir="auto"><br>
</div>
<div dir="auto">It produces a very pretty image of I
topology. I think if you zoom in you can get neighbours. </div>
<div dir="auto">A few years since I used it. </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 19 Sep 2023, 19:03
Michael DiDomenico, <<a
href="mailto:mdidomenico4@gmail.com" target="_blank"
rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">mdidomenico4@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">does
anyone know if there's a simple command to pull the
neighbor of<br>
the an ib port? for instance, this horrible shell command
line<br>
<br>
# for x in `ibstat | awk -F \' '/^CA/{print $2}'`; do
iblinkinfo -C<br>
${x} -n 1 -l | grep `hostname -s`; done<br>
0x080069000000fbcc "SwitchX - Mellanox Technologies"
41134 29[ ]<br>
==( 4X 14.0625 Gbps Active/ LinkUp)==>
0x88e9a4ffff404704<br>
611 1[ ] "logs01 HCA-1" ( )<br>
0x88e9a4ffff404704 " logs01 HCA-1"
611 1[ ]<br>
==( 4X 14.0625 Gbps Active/ LinkUp)==>
0x080069000000fbcc<br>
41134 29[ ] "SwitchX - Mellanox Technologies" ( )<br>
0x080069000000fbdc "SwitchX - Mellanox Technologies"
41219 29[ ]<br>
==( 4X 14.0625 Gbps Active/ LinkUp)==>
0x88e9a4ffff404705<br>
10105 1[ ] "logs01 HCA-2" ( )<br>
0x88e9a4ffff404705 " logs01 HCA-2"
10105 1[ ]<br>
==( 4X 14.0625 Gbps Active/ LinkUp)==>
0x080069000000fbdc<br>
41219 29[ ] "SwitchX - Mellanox Technologies" ( )<br>
<br>
outputs what i need (though i only need the CA
perspective), but it's<br>
going to be an atrocious effort in text parsing. would
be nice if<br>
there was a nice simple command, preferably that outputs
json, but<br>
that's likely wishful thinking<br>
_______________________________________________<br>
Beowulf mailing list, <a
href="mailto:Beowulf@beowulf.org" rel="noreferrer
noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">Beowulf@beowulf.org</a>
sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe)
visit <a
href="https://beowulf.org/cgi-bin/mailman/listinfo/beowulf"
rel="noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">https://beowulf.org/cgi-bin/mailman/listinfo/beowulf</a><br>
</blockquote>
</div>
</blockquote>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Beowulf mailing list, <a class="moz-txt-link-abbreviated" href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit <a class="moz-txt-link-freetext" href="https://beowulf.org/cgi-bin/mailman/listinfo/beowulf">https://beowulf.org/cgi-bin/mailman/listinfo/beowulf</a>
</pre>
</blockquote>
</body>
</html>