ofiwg / libfabric

Open Fabric Interfaces
http://libfabric.org/
Other
581 stars 386 forks source link

fi_pingpong fabric selection (select ip address for sockets provider) #9266

Open lrbison opened 1 year ago

lrbison commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to perform a basic pingpong test on the tcp or sockets provider, but I'd like to use a specific IP address. (specifically, an IPv6 address).

Describe the solution you'd like On the client I run

FI_LOG_LEVEL=info fi_pingpong -p sockets 2600:1f16:8fc:2c00:8a0e:2f67:c04a:fd3 -6

and I'd like to see the socket use an IPv6 address for communication, however I see in the log that the opened fabric is "10.0.2.0".

Describe alternatives you've considered I have checked fi_info -p sockets and see that the sockets provider lists different IP addresses as different fabrics, and multiple fabrics on the same domain. But while I can set the domain on the command line, I cannot select the fabric.

shefty commented 1 year ago

The sockets provider is not maintained. fi_pingpong is barely maintained, as there are fabtests which provide equivalent+ functionality. You can use one of the fabtests pingping (e.g. fi_msg_pingpong) tests with a -s argument to select a specific source address. Fabtests includes a -f argument, which can specify the fabric name.

lrbison commented 1 year ago

Sounds like this ask is to add -s or -f to fi_pingpong as is done with fi_msg_pingpong. Thank you for the pointers.

a-szegel commented 1 year ago

At what point do we deprecate the unmaintained code?

shefty commented 1 year ago

My target was the v2 release.