[Beowulf] ib neighbor

Brice Goglin brice.goglin at gmail.com
Sun Sep 24 18:38:20 UTC 2023


Hello

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.

IIRC https://mvapich.cse.ohio-state.edu/userguide/osu-inam/ could help 
here, no idea if it's still maintained.

Brice



Le 20/09/2023 à 15:07, John Hearns a écrit :
> netloc is the tool you want to use.
> Look in the latest hwloc dovumentation
>
> On Wed, 20 Sep 2023, 13:55 John Hearns, <hearnsj at gmail.com> wrote:
>
>     I did manage to get the graphical netloc utility working once.
>     Part of the hwloc/openmpi project.
>
>     It produces a very pretty image of I topology. I think if you zoom
>     in you can get neighbours.
>     A few years since I used it.
>
>     On Tue, 19 Sep 2023, 19:03 Michael DiDomenico,
>     <mdidomenico4 at gmail.com> wrote:
>
>         does anyone know if there's a simple command to pull the
>         neighbor of
>         the an ib port?  for instance, this horrible shell command line
>
>         # for x in `ibstat | awk -F \' '/^CA/{print $2}'`; do
>         iblinkinfo -C
>         ${x} -n 1 -l | grep `hostname -s`; done
>         0x080069000000fbcc "SwitchX -  Mellanox Technologies" 41134 
>          29[  ]
>         ==( 4X       14.0625 Gbps Active/  LinkUp)==> 0x88e9a4ffff404704
>         611    1[  ] "logs01 HCA-1" ( )
>         0x88e9a4ffff404704 "                  logs01 HCA-1" 611    1[  ]
>         ==( 4X       14.0625 Gbps Active/  LinkUp)==> 0x080069000000fbcc
>         41134   29[  ] "SwitchX -  Mellanox Technologies" ( )
>         0x080069000000fbdc "SwitchX -  Mellanox Technologies" 41219 
>          29[  ]
>         ==( 4X       14.0625 Gbps Active/  LinkUp)==> 0x88e9a4ffff404705
>         10105    1[  ] "logs01 HCA-2" ( )
>         0x88e9a4ffff404705 "                  logs01 HCA-2" 10105    1[  ]
>         ==( 4X       14.0625 Gbps Active/  LinkUp)==> 0x080069000000fbdc
>         41219   29[  ] "SwitchX -  Mellanox Technologies" ( )
>
>         outputs what i need (though i only need the CA perspective),
>         but it's
>         going to be an atrocious effort in text parsing.   would be
>         nice if
>         there was a nice simple command, preferably that outputs json, but
>         that's likely wishful thinking
>         _______________________________________________
>         Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin
>         Computing
>         To change your subscription (digest mode or unsubscribe) visit
>         https://beowulf.org/cgi-bin/mailman/listinfo/beowulf
>
>
> _______________________________________________
> Beowulf mailing list,Beowulf at beowulf.org  sponsored by Penguin Computing
> To change your subscription (digest mode or unsubscribe) visithttps://beowulf.org/cgi-bin/mailman/listinfo/beowulf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://beowulf.org/pipermail/beowulf/attachments/20230924/9ed9084f/attachment.htm>


More information about the Beowulf mailing list