[libfabric-users] Simple libfabric Hello World Program

Jörn Schumacher jorn.schumacher at cern.ch
Thu Jul 25 04:02:46 PDT 2019


Hi James,

On 7/24/19 10:16 PM, James Board via Libfabric-users wrote:
> Thanks.  I'm aware of fabtests.  But, they contain thousands of lines of 
> code and well over a hundred subroutines.  It's difficult to follow the 
> flow of control.  I'm looking for a simple "Hello World" type of 
> program: something that contains the minimal amount of code necessary to 
> send RMA messages between nodes.  It's easier for me to start with a 
> simple example and make it do what I want versus starting with a complex 
> example.

Here is a simple client/server example:
https://gist.github.com/joerns/7f6a97a6504214db04c68df6dac5b253

I wrote it a couple of years ago for my own learning purposes. It's a 
bit out-of-date with respect to current libfabric versions, but I don't 
think anything major changed.


Cheers,
  Jörn


More information about the Libfabric-users mailing list