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 13:25:17


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

> 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...

I know what this is -- see below.

> 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'

Very strange. What happened was that hwloc's embedded configury decided that it had verbs support, but somehow HAVE_INFINIBAND_VERBS_H isn't defined. How could that happen?

Could you send stdout/stderr from configure, and config.log, and opal_config.h?

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/