This should be fixed now. Let me know if it's not. -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
________________________________________ From: devel [devel-boun...@open-mpi.org] on behalf of Gilles Gouaillardet [gilles.gouaillar...@iferc.org] Sent: Thursday, December 18, 2014 3:13 AM To: Open MPI Developers Subject: [OMPI devel] libfabric, config.h and hwloc Jeff, currently, ompi master cannot be built if configured with --without-hwloc *and without* --without-libfabric. the root cause is HAVE_CONFIG_H is defined but no config.h file is found. i digged a bit and found that config.h is taken from a hwloc directory (if the --without-hwloc option is not used), so even if this "works" that is unlikely the expected behaviour. the attached patch fixes some missing #ifdef two workarounds are (after configure) 1) after configure, manually touch $top_builddir/opal/mca/common/libfabric/config.h 2) manually hack $top_builddir/opal/mca/common/libfabric/Makefile and replace DEFS = -DHAVE_CONFIG_H with DEFS = my last (cosmetic) comment is about $srcdir/opal/mca/common/libfabric/Makefile.in (and several other Makefile.in) : CONFIG_HEADER = $(top_builddir)/opal/include/opal_config.h \ $(top_builddir)/ompi/include/mpi.h \ $(top_builddir)/oshmem/include/shmem.h \ $(top_builddir)/opal/mca/hwloc/hwloc191/hwloc/include/private/autogen/config.h \ $(top_builddir)/opal/mca/hwloc/hwloc191/hwloc/include/hwloc/autogen/config.h the last two files do not exist when ompi is configured with --without-hwloc, is there any way to have them excluded from Makefile by configure ? Cheers, Gilles