On Feb 27, 2016, at 9:33 AM, Emmanuel Thomé <emmanuel.th...@gmail.com> wrote:
> 
>>> dependency_libs=' -losmcomp -libverbs
>>> /tmp/openmpi-1.10.2/orte/libopen-rte.la
>>> /tmp/openmpi-1.10.2/opal/libopen-pal.la -lnuma -ldl -lrt -lm -lutil'
>> 
>> Why does this not look good?
> 
> Because my general rule of thumb about link-related command lines is
> "my stuff first, then the stuff I depend on".

I haven't checked carefully, but I'll bet the libmca_common_verbs_usnic issue 
is what causes -losmcomp -libverbs to be pulled left towards libmpi.

>> Note, too, that 1.10.2 has a bug that one of the core Open MPI libs has a 
>> dependency on libibverbs (only Open MPI's plugins are supposed to be 
>> dependent upon libibverbs).  This was a mistake that is fixed in the 1.10.3 
>> nightly tarballs.  Indeed, fixing this bug may have the side-effect of 
>> fixing your issue.
> 
> Is it libmca_common_verbs_usnic ? It seems to be the one which pulls
> osmcomp as well

Yes.

> (which, if I follow the same reasoning, has absolutely
> no reason to be a dependency of libmpi).

Per your later mail: the v1.10.3 nightly tarball fixes the issue by removing 
the libmca_common_verbs_usnic stuff.  Yay!

-- 
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