OSHMEM: bug fix for hca selection from list
fixed by AlexM, reviewed by Miked cmr=v1.8.2:reviewer=ompi-rm1.8 This commit was SVN r31501.
This commit is contained in:
parent
87e6232e67
commit
8e4cea59da
@ -111,7 +111,7 @@ verbs_runtime_query(mca_base_module_t **module,
|
||||
/* Open device */
|
||||
if (NULL != mca_sshmem_verbs_component.hca_name) {
|
||||
for (i = 0; i < num_devs; i++) {
|
||||
if (0 == strcmp(mca_sshmem_verbs_component.hca_name, ibv_get_device_name(device->ib_devs[0]))) {
|
||||
if (0 == strcmp(mca_sshmem_verbs_component.hca_name, ibv_get_device_name(device->ib_devs[i]))) {
|
||||
device->ib_dev = device->ib_devs[i];
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user