I guess to get the src for the example programs, you need to install the ofed user src rpm. It will be in the SRPMS dir of the ofed distro tree.

Once you install that, you'll get a tarball of the user space src stuff. On RH it will be in /usr/src/redhat/SOURCES. Untar that and you can find examples:

Verbs:

ofa_user-1.2.5/src/userspace/libibverbs/examples

RDMA CMA:

ofa_user-1.2.5/src/userspace/librdmacm/examples

Steve.


Zulfi Imani wrote:
Thanks Steve.

Just a couple of questions. I have installed the OFED1.2 stack. You said I would find example programs. Under my installation dir

 > ls
bin  include  lib  lib64  mpi  sbin  src

I do not see any subdir for example programs ?
Also where can I find simple programs like file transfer using RDMA and libibverbs ? Does the "verbs.h" in the $INSTALL/include/infiniband represent the libverbs API ?

I am sorry but I am just starting to program on Infiniband and am a little lost.

Thanks for the help.
Zulfi


On 10/5/07, *Steve Wise* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    OFA Admins:

    It would be nice to put the man pages on-line...

    If we installed the man pages, then used man2html or something we could
    point folks at that for on-line docs...

    Zulfi, if you build/install ofed-1.2.5, you can then get man pages for
    the verbs and rdmacm APIs.  Also there are header files and examples
    that get build/installed.


    Steve.


    Zulfi Imani wrote:
     > Hi all,
     >
     > I wanted to find out where I can get the libibverbs API specification
     > from. I checked the openfabrics.org <http://openfabrics.org>
    <http://openfabrics.org> website but
     > could not find anything immediately.
     >
     > Thanks
     > Zulfi
     >
     >
     >
    ------------------------------------------------------------------------

     >
     > _______________________________________________
     > general mailing list
     > [email protected] <mailto:[email protected]>
     > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
     >
     > To unsubscribe, please visit
    http://openib.org/mailman/listinfo/openib-general




--
Regs,
Zulfi
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to