Brian,
there used to be two hwloc.h : the one from the hwloc libraries, and
the one from the OMPI MCA framework.
as a side effect, we could not --with-hwloc=external, but we had to
--with-hwloc=/usr, which leads to add
-I/usr/include to the CPPFLAGS.
so you might end up having
CPPFLAGS=-I/usr/incl
Folks,
i started that quite a while a go, but did not go very far
we did discuss this at
https://github.com/ggouaillardet/ompi/commit/5410027247194be66679c0f9335ccf0f59fffebf
and my patch is at
https://github.com/ggouaillardet/ompi/commit/892ff1d94072fca0f468228c10d13be58a9400b2
we