Minor cleanups
This commit was SVN r25289.
Этот коммит содержится в:
родитель
89a20de474
Коммит
f1a5a26ba0
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
#include "opal/util/error.h"
|
#include "opal/util/error.h"
|
||||||
#include "opal/util/output.h"
|
#include "opal/util/output.h"
|
||||||
#include "opal/util/opal_sos.h"
|
|
||||||
#include "opal/runtime/opal.h"
|
#include "opal/runtime/opal.h"
|
||||||
|
|
||||||
#include "orte/util/show_help.h"
|
#include "orte/util/show_help.h"
|
||||||
@ -148,7 +147,7 @@ int orte_init(int* pargc, char*** pargv, orte_proc_type_t flags)
|
|||||||
return ORTE_SUCCESS;
|
return ORTE_SUCCESS;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
if (ORTE_ERR_SILENT != OPAL_SOS_GET_ERROR_CODE(ret)) {
|
if (ORTE_ERR_SILENT != ret) {
|
||||||
orte_show_help("help-orte-runtime",
|
orte_show_help("help-orte-runtime",
|
||||||
"orte_init:startup:internal-failure",
|
"orte_init:startup:internal-failure",
|
||||||
true, error, ORTE_ERROR_NAME(ret), ret);
|
true, error, ORTE_ERROR_NAME(ret), ret);
|
||||||
|
@ -235,7 +235,7 @@ static void dump_aborted_procs(void)
|
|||||||
orte_basename);
|
orte_basename);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (OPAL_SOS_GET_ERROR_CODE(proc->exit_code)) {
|
switch (proc->exit_code) {
|
||||||
case ORTE_ERR_SYS_LIMITS_PIPES:
|
case ORTE_ERR_SYS_LIMITS_PIPES:
|
||||||
orte_show_help("help-orterun.txt", "orterun:sys-limit-pipe", true,
|
orte_show_help("help-orterun.txt", "orterun:sys-limit-pipe", true,
|
||||||
orte_basename, proc->node->name,
|
orte_basename, proc->node->name,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user