This functionality is there to overcome a bug in libibverbs (that prints a dire 
warning about Cisco usNIC devices not being supported).

However, I can see how this additional linkage is undesirable.  We can probably 
flip the default on this component to not build by default -- but leave it 
there as a workaround for users who want to use it (i.e., all this component 
does is suppress the warning from libibverbs).  Another workaround that Cisco 
is now shipping is a "dummy" libibverbs plugin for usnic devices that also 
suppresses this warning (see https://github.com/cisco/libusnic_verbs, if you 
care).



> On Feb 2, 2016, at 9:21 AM, Dave Love <d.l...@liverpool.ac.uk> wrote:
> 
> Number Cruncher <number.crunc...@ntlworld.com> writes:
> 
>> Having compiled various recent Open MPI sources with the same
>> "configure" options, I've noticed that the "libmpi.so" shared library
>> from 1.10.1 now depends itself directly on
>> libibverbs.so.1. Previously, 1.10.0 for example, only plugins such as
>> mca_btl_openib.so depended on it.
> 
> For what it's worth, you can work around that (using GNU tools) by
> adding -Wl,--as-needed to LDFLAGS on configure.  There's a lot of
> similar instances, and it would be good to tidy them by only linking
> against what's necessary, even if it doesn't help startup.  That's
> probably tedious but should be a straightforward way to contribute, in
> case anyone's interested.
> 
> It seems we mostly don't believe in packaging round here, but you can
> see easily by running rpmlint (or the dpkg equivalent? -- I forget):
> 
>  $ vagrant ssh -c 'rpm -q openmpi; rpmlint openmpi | grep -c 
> unused-direct-shlib-dependency'
>  openmpi-1.10.2-2.fc24.x86_64
>  144
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2016/02/28434.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to