+1

It might be easier simply to use the embedded libhwloc.  I.e., don't specify 
--with-hwloc=external, and let OMPI's default use of the embedded libhwloc take 
over.


> On Mar 23, 2015, at 10:58 PM, Gilles Gouaillardet 
> <gilles.gouaillar...@iferc.org> wrote:
> 
> Peter,
> 
> i was able to reproduce the issue when the external hwloc libraries are not
> in the default lib path (e.g. /usr/lib64)
> 
> a simple workaround is to
> LD_LIBRARY_PATH=/path_to_your_hwloc_lib configure ...
> 
> /* libevent configure does compile a test program with 
> -L/path_to_your_hwloc_lib -lhwloc,
> and then tries to run the binary, but that fails since the library is not 
> found.
> on top of my head, possible fixes are :
> a) invoke libevent configure with LD_LIBRARY_PATH=/path_to_your_hwloc_lib
> b) invoke libevent configure with LDFLAGS=-Wl,-rpath,/path_to_your_hwloc_lib
> Cheers,
> */
> 
> 
> Gilles
> 
> On 2015/03/24 10:23, Peter Gottesman wrote:
>> Ah, yes I am sorry. I can successfully configure if I do not define an
>> external hwloc, however the 'make all' fails. I must have not re-configured
>> it after trying that.
>> 
>> The correct config.log is there now. From what I could gather, the problem
>> is in this line(105):
>> 
>> 
>>> ./conftest: error while loading shared libraries: libhwloc.so.0: cannot
>>> open shared object file: No such file or directory
>>> 
>> When I try to run that file I get a segfault, although from what I can tell
>> there is not a problem during the hwloc installation(but it would seem that
>> I am wrong).
>> I have attached the correct config.log from
>> opal/mca/event/libevent2022/libevent,
>> the config.log from hwloc, and the output from the 'make install' of hwloc
>> Thanks,
>> Peter
>> 
>> 
>> 
>> 
>> _______________________________________________
>> devel mailing list
>> 
>> de...@open-mpi.org
>> 
>> Subscription: 
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>> 
>> Link to this post: 
>> http://www.open-mpi.org/community/lists/devel/2015/03/17147.php
> 
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2015/03/17148.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