1
1

OMPI_HAVE_IBV_LINK_LAYER does not exist. Instead, check defined(HAVE_IBV_LINK_LAYER_ETHERNET).

This commit was SVN r27251.
Этот коммит содержится в:
Jeff Squyres 2012-09-06 18:25:36 +00:00
родитель aca005ccc5
Коммит dd254cc202

Просмотреть файл

@ -400,7 +400,7 @@ static int udcm_component_query(mca_btl_openib_module_t *btl,
/* If we do not have struct ibv_device.transport_device, then /* If we do not have struct ibv_device.transport_device, then
we're in an old version of OFED that is IB only (i.e., no we're in an old version of OFED that is IB only (i.e., no
iWarp), so we can safely assume that we can use this CPC. */ iWarp), so we can safely assume that we can use this CPC. */
#if defined(HAVE_STRUCT_IBV_DEVICE_TRANSPORT_TYPE) && OMPI_HAVE_IBV_LINK_LAYER #if defined(HAVE_STRUCT_IBV_DEVICE_TRANSPORT_TYPE) && defined(HAVE_IBV_LINK_LAYER_ETHERNET)
if (BTL_OPENIB_CONNECT_BASE_CHECK_IF_NOT_IB(btl)) { if (BTL_OPENIB_CONNECT_BASE_CHECK_IF_NOT_IB(btl)) {
BTL_VERBOSE(("UD CPC only supported on InfiniBand; skipped on %s:%d", BTL_VERBOSE(("UD CPC only supported on InfiniBand; skipped on %s:%d",
ibv_get_device_name(btl->device->ib_dev), ibv_get_device_name(btl->device->ib_dev),