[libfabric-users] pingpong example

Rob Latham robl at mcs.anl.gov
Mon Feb 8 11:28:50 PST 2016



On 02/04/2016 11:20 AM, Hefty, Sean wrote:
>> but if I give it the same source and destination, it runs.
>>
>> - ./pingpong -s localhost:12345 -z 1024 -i 10
>> - ./pingpong -d localhost:12345 -z 1024 -i 10
>>
>> Why is pingpong confused when source and dest are different?  I thought
>> the steps on slides 79-81 were where the client and server tell each
>> other where to look ?
>
> On the server side, this specifies the source (i.e. local) address that the server binds to.  The client specifies the same address as the destination, which is needed for it to find the server.

thanks for clearing that up.

OK, so now I have all the code from the OFI tutorial in a 'pingpong.c' 
file.  Is that useful to the project?   Goodell mentioned to me some of 
the code in the tutorial had not kept up with libfabric changes.

fabtests already has a pingpong, and it doesn't seem like something that 
needs to be part of .  Does the tutorial live in github somewhere?  I'd 
like to contribute pingpong.c but I'm not sure where it should go.

==rob



More information about the Libfabric-users mailing list