Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] OpenIB compile error
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-06-20 16:09:14

Brian and I talked about this more off list and figured out the problem. The issue is that Brian has OFED installed in a non-standard location, so he specified --with-openib=/path/to/ofed. The openib BTL therefore knows where OFED (and verbs.h) is installed, but other OFED-lovin' components don't:

- hwloc hwloc142

So it seems like it's finally time to rename and universalize the --with-openib switch.

Ladies and gentlemen, I present: --with-ofed.

This one option will function exactly like --with-openib today, with the exception that all OFED-lovin' components can look at $with_ofed.

For the 1.7/1.8 series, we'll accept --with-openib in lieu of --with-ofed, but we'll print a warning if you do so. We'll delete the --with-openib=dir form of --with-openib in 1.9/2.0 (i.e., --with-openib will just mean "you must build openib; error if you cannot build it").

Speak now if you hate this plan...

On Jun 20, 2012, at 1:18 PM, Barrett, Brian W wrote:

> Hi all -
> I'm seeing the compile error with the OMPI trunk and OFED 15.3.1. Has
> anyone seen this before? I have vague recollections of seeing e-mail
> discussion on the issue, but can't find those e-mails now...
> Thanks,
> Brian
> In file included from ../../../../opal/mca/hwloc/hwloc.h:87,
> from btl_openib_component.c:69:
> ../../../../opal/mca/hwloc/hwloc142/hwloc142.h:38:10: error: #error Tried
> to include hwloc verbs helper file, but hwloc was compiled with no
> OpenFabrics support
> btl_openib_component.c: In function 'get_ib_dev_distance':
> btl_openib_component.c:2435: error: implicit declaration of function
> 'opal_hwloc142_hwloc_ibv_get_device_cpuset'
> make[1]: *** [btl_openib_component.lo] Error 1
> make[1]: Leaving directory
> `/home/bwbarre/projects/ompi/trunk/ompi/mca/btl/openib'
> make: *** [all-recursive] Error 1
> --
> Brian W. Barrett
> Dept. 1423: Scalable System Software
> Sandia National Laboratories
> _______________________________________________
> devel mailing list
> devel_at_[hidden]

Jeff Squyres
For corporate legal information go to: