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:
- OOB UD
- BTL UD
- 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...
> 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
> make: *** [btl_openib_component.lo] Error 1
> make: Leaving directory
> make: *** [all-recursive] Error 1
> Brian W. Barrett
> Dept. 1423: Scalable System Software
> Sandia National Laboratories
> devel mailing list
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/