Remove the confusion over which options are "to" and which are "by" by creating synonyms so that either spelling works.
This commit was SVN r26951.
Этот коммит содержится в:
родитель
53b1a1c976
Коммит
1f8df92c3c
@ -370,16 +370,25 @@ static opal_cmd_line_init_t cmd_line_init[] = {
|
||||
{ "rmaps", "base", "mapping_policy", '\0', NULL, "map-by", 1,
|
||||
NULL, OPAL_CMD_LINE_TYPE_STRING,
|
||||
"Mapping Policy [slot (default) | hwthread | core | socket | numa | board | node]" },
|
||||
{ "rmaps", "base", "mapping_policy", '\0', NULL, "map-to", 1,
|
||||
NULL, OPAL_CMD_LINE_TYPE_STRING,
|
||||
"Synonym for map-by" },
|
||||
|
||||
/* Ranking options */
|
||||
{ "rmaps", "base", "ranking_policy", '\0', NULL, "rank-by", 1,
|
||||
NULL, OPAL_CMD_LINE_TYPE_STRING,
|
||||
"Ranking Policy [slot (default) | hwthread | core | socket | numa | board | node]" },
|
||||
{ "rmaps", "base", "ranking_policy", '\0', NULL, "rank-to", 1,
|
||||
NULL, OPAL_CMD_LINE_TYPE_STRING,
|
||||
"Synonym for rank-by" },
|
||||
|
||||
/* Binding options */
|
||||
{ "hwloc", "base", "binding_policy", '\0', NULL, "bind-to", 1,
|
||||
NULL, OPAL_CMD_LINE_TYPE_STRING,
|
||||
"Policy for binding processes [none (default) | hwthread | core | socket | numa | board] (supported qualifiers: overload-allowed,if-supported)" },
|
||||
{ "hwloc", "base", "binding_policy", '\0', NULL, "bind-by", 1,
|
||||
NULL, OPAL_CMD_LINE_TYPE_STRING,
|
||||
"Synonym for bind-to" },
|
||||
|
||||
/* backward compatiblity */
|
||||
{ "hwloc", "base", "bind_to_core", '\0', "bind-to-core", "bind-to-core", 0,
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user