As Jeff pointed out, the reqd flag should only turn off the show_help - still enter the rest of the code block
Refs trac:4019 This commit was SVN r30091. The following Trac tickets were found above: Ticket 4019 --> https://svn.open-mpi.org/trac/ompi/ticket/4019
Этот коммит содержится в:
родитель
9ba0d19ef1
Коммит
62378a64c8
@ -571,10 +571,12 @@ static char **split_and_resolve(char **orig_str, char *name, bool reqd)
|
||||
}
|
||||
|
||||
/* If we didn't find a match, keep trying */
|
||||
if (if_index < 0 && reqd) {
|
||||
opal_show_help("help-mpi-btl-tcp.txt", "invalid if_inexclude",
|
||||
true, name, ompi_process_info.nodename, tmp,
|
||||
"Did not find interface matching this subnet");
|
||||
if (if_index < 0) {
|
||||
if (reqd) {
|
||||
opal_show_help("help-mpi-btl-tcp.txt", "invalid if_inexclude",
|
||||
true, name, ompi_process_info.nodename, tmp,
|
||||
"Did not find interface matching this subnet");
|
||||
}
|
||||
free(tmp);
|
||||
continue;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user