Re: [OMPI devel] Error in hwloc configury

2016-09-22 Thread r...@open-mpi.org
Good job, Gilles! PR coming - this fixed the problem. > On Sep 22, 2016, at 6:52 AM, Gilles Gouaillardet > wrote: > > Ralph, > > if you have libevent in your CPPFLAGS and you want to use the embedded > one, then please use the patch below > pmix3x looks ok > >

Re: [OMPI devel] Error in hwloc configury

2016-09-22 Thread Gilles Gouaillardet
Ralph, if you have libevent in your CPPFLAGS and you want to use the embedded one, then please use the patch below pmix3x looks ok Cheers, Gilles diff --git a/opal/mca/event/libevent2022/configure.m4 b/opal/mca/event/libevent2022/configure.m4 index d299b5f..8124c11 100644 ---

Re: [OMPI devel] Error in hwloc configury

2016-09-22 Thread Gilles Gouaillardet
Ralph, do you use VPATH ? can you give a try to the patch below ? Cheers, Gilles diff --git a/opal/mca/hwloc/hwloc1113/configure.m4 b/opal/mca/hwloc/hwloc1113/configure.m4 index 7fe3527..c1646d4 100644 --- a/opal/mca/hwloc/hwloc1113/configure.m4 +++ b/opal/mca/hwloc/hwloc1113/configure.m4

Re: [OMPI devel] Error in hwloc configury

2016-09-22 Thread r...@open-mpi.org
Here is the compile line: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../opal/include -I../../ompi/include -I../../oshmem/include -I../../opal/mca/hwloc/hwloc1113/hwloc/include/private/autogen -I../../opal/mca/hwloc/hwloc1113/hwloc/include/hwloc/autogen -I../../ompi/mpiext/cuda/c -I../..

Re: [OMPI devel] Error in hwloc configury

2016-09-22 Thread Gilles Gouaillardet
Ralph, Is the root cause we append our stuff to CPPFLAGS, instead of prepend ? You can retrieve the compile command line with make V=1 If my guess is correct, does someone know the rationale for append vs prepend ? Cheers, Gilles r...@open-mpi.org wrote: >Hey folks > > >I’m encountering an

[OMPI devel] Error in hwloc configury

2016-09-22 Thread r...@open-mpi.org
Hey folks I’m encountering an issue with the way we detect external HWLOC. If I have a directory that includes an hwloc installation in my CPPFLAGS, then we fail to build, even if I don’t specify anything with regard to hwloc on my configure cmd line. The errors I get look like: In file