Can't emit an error for an unrecognized mapping policy modifier as the ppr policy relies on not doing so.
This commit was SVN r31998.
Этот коммит содержится в:
родитель
3ed282bf44
Коммит
56c3575c0e
@ -559,6 +559,11 @@ static int check_modifiers(char *ck, orte_mapping_policy_t *tmp)
|
|||||||
int i;
|
int i;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
|
opal_output_verbose(5, orte_rmaps_base_framework.framework_output,
|
||||||
|
"%s rmaps:base check modifiers with %s",
|
||||||
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
|
||||||
|
(NULL == ck) ? "NULL" : ck);
|
||||||
|
|
||||||
if (NULL == ck) {
|
if (NULL == ck) {
|
||||||
return ORTE_SUCCESS;
|
return ORTE_SUCCESS;
|
||||||
}
|
}
|
||||||
@ -597,8 +602,7 @@ static int check_modifiers(char *ck, orte_mapping_policy_t *tmp)
|
|||||||
} else {
|
} else {
|
||||||
/* unrecognized modifier */
|
/* unrecognized modifier */
|
||||||
opal_argv_free(ck2);
|
opal_argv_free(ck2);
|
||||||
orte_show_help("help-orte-rmaps-base.txt", "unrecog-modifier", true, ck2[i]);
|
return ORTE_ERR_BAD_PARAM;
|
||||||
return ORTE_ERR_SILENT;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
opal_argv_free(ck2);
|
opal_argv_free(ck2);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user