1
1

OPENIB BTL - use orte_show_help instead of BTL_ERROR print in case ibv_reg_mr failed.

This commit was SVN r26111.
Этот коммит содержится в:
Pavel Shamis 2012-03-08 09:04:03 +00:00
родитель 0b82dfc450
Коммит 102da281c4
2 изменённых файлов: 18 добавлений и 2 удалений

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

@ -569,8 +569,10 @@ static int openib_reg_mr(void *reg_data, void *base, size_t size,
openib_reg->mr = ibv_reg_mr(device->ib_pd, base, size, access_flag);
if (NULL == openib_reg->mr) {
BTL_ERROR(("%s: error pinning openib memory errno says %s",
__func__, strerror(errno)));
orte_show_help("help-mpi-btl-openib.txt", "mem-reg-fail",
orte_process_info.nodename,
ibv_get_device_name(device->ib_dev),
__func__, strerror(errno));
return OMPI_ERR_OUT_OF_RESOURCE;
}

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

@ -661,6 +661,20 @@ Such mixed network trasport configuration is not supported by Open MPI.
Remote Adapter: (vendor 0x%x, part ID %d)
Remote transport type: %s
#
[mem-reg-fail]
The OpenFabrics (openib) BTL failed to register memory in the driver.
Please check /var/log/messages or dmesg for driver specific failure
reason.
The failure occured here:
Local host: %s
Device: %s
Function: %s()
Errno says: %s
You may need to consult with your system administrator to get this
problem fixed.
#
[gid index too large]
Open MPI tried to use a GID index that was too large for an
OpenFabrics device (i.e., the GID index does not exist on this