1
1

The MCA parameter should always be taken into account, independent on

how many networks are available on the node.

This commit was SVN r21652.
Этот коммит содержится в:
George Bosilca 2009-07-13 19:40:00 +00:00
родитель 1b9448581b
Коммит 2143424eb5

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

@ -580,9 +580,8 @@ static int mca_btl_tcp_component_create_instances(void)
BTL_ERROR(("invalid interface \"%s\"", if_name));
ret = OMPI_ERR_NOT_FOUND;
goto cleanup;
} else {
mca_btl_tcp_create(if_index, if_name);
}
mca_btl_tcp_create(if_index, if_name);
argv++;
}
opal_argv_free(include);
@ -609,18 +608,14 @@ static int mca_btl_tcp_component_create_instances(void)
opal_ifkindextoname(if_index, if_name, sizeof(if_name));
/* check to see if this interface exists in the exclude list */
if(opal_ifcount() > 1) {
argv = exclude;
while(argv && *argv) {
if(strncmp(*argv,if_name,strlen(*argv)) == 0)
break;
argv++;
}
/* if this interface was not found in the excluded list, create a BTL */
if(argv == 0 || *argv == 0) {
mca_btl_tcp_create(if_index, if_name);
}
} else {
argv = exclude;
while(argv && *argv) {
if(strcmp(*argv,if_name) == 0)
break;
argv++;
}
/* if this interface was not found in the excluded list, create a BTL */
if(argv == 0 || *argv == 0) {
mca_btl_tcp_create(if_index, if_name);
}
}