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

Reply via email to