[openib-general] Re: unable to run ibv_uc_pingpong and other example binaries
Hal Rosenstock
halr at voltaire.com
Tue Jul 19 10:57:43 PDT 2005
On Tue, 2005-07-19 at 13:52, Roland Dreier wrote:
> 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.
Is this a requirement ? What about setting the appropriate environment
variables or is it better not to do this ?
> 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.
-- Hal
More information about the general
mailing list