Gracefully handle NULL strings when calling orte_show_help for preventing usage
of more than one of the btl_openib_if_include, btl_openib_if_exclude, btl_openib_ipaddr_include, or btl_openib_ipaddr_exclude MCA parameters. This commit was SVN r20053.
Этот коммит содержится в:
родитель
91b26eba67
Коммит
54b4e9901c
@ -2222,10 +2222,15 @@ btl_openib_component_init(int *num_btl_modules,
|
||||
if (list_count > 1) {
|
||||
orte_show_help("help-mpi-btl-openib.txt",
|
||||
"specified include and exclude", true,
|
||||
mca_btl_openib_component.if_include,
|
||||
mca_btl_openib_component.if_exclude,
|
||||
mca_btl_openib_component.ipaddr_include,
|
||||
mca_btl_openib_component.ipaddr_exclude, NULL);
|
||||
NULL == mca_btl_openib_component.if_include ?
|
||||
"<not specified>" : mca_btl_openib_component.if_include,
|
||||
NULL == mca_btl_openib_component.if_exclude ?
|
||||
"<not specified>" : mca_btl_openib_component.if_exclude,
|
||||
NULL == mca_btl_openib_component.ipaddr_include ?
|
||||
"<not specified>" :mca_btl_openib_component.ipaddr_include,
|
||||
NULL == mca_btl_openib_component.ipaddr_exclude ?
|
||||
"<not specified>" :mca_btl_openib_component.ipaddr_exclude,
|
||||
NULL);
|
||||
goto no_btls;
|
||||
} else if (NULL != mca_btl_openib_component.if_include) {
|
||||
mca_btl_openib_component.if_include_list =
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user