[openib-general] Re: unable to run ibv_uc_pingpong and other example binaries

Roland Dreier rolandd at cisco.com
Tue Jul 19 10:52:40 PDT 2005


    Hal> As far as I know, the current agreed upon default is
    Hal> /usr/local/xxx/infiniband where xxx is lib and include.

No, libraries should go in $PREFIX/lib.  Otherwise the default linker
path won't work.  Userspace drivers like mthca.so are a special case
because they're loaded using dlopen() instead of the linker.

$PREFIX/infiniband/include is a good idea because then code can do

    #include <infiniband/xxx.h>

which looks right.

 - R.



More information about the general mailing list