1
1

Merge pull request #6996 from jsquyres/pr/v4.0.x/enable-timings-compile-fix

v4.0.x: ess/pmi: Fix `--enable-timing` compilation error
Этот коммит содержится в:
Howard Pritchard 2019-09-20 12:42:52 -06:00 коммит произвёл GitHub
родитель 265a47bdf8 e5be033c14
Коммит 83df06275d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 5 добавлений и 10 удалений

Просмотреть файл

@ -17,6 +17,7 @@
* and Technology (RIST). All rights reserved. * and Technology (RIST). All rights reserved.
* Copyright (c) 2018 Mellanox Technologies, Inc. * Copyright (c) 2018 Mellanox Technologies, Inc.
* All rights reserved. * All rights reserved.
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -464,7 +465,7 @@ static int rte_init(void)
error = "orte_state_base_select"; error = "orte_state_base_select";
goto error; goto error;
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "state_framework_open"); OPAL_TIMING_ENV_NEXT(rte_init, "state_framework_open");
/* open the errmgr */ /* open the errmgr */
if (ORTE_SUCCESS != (ret = mca_base_framework_open(&orte_errmgr_base_framework, 0))) { if (ORTE_SUCCESS != (ret = mca_base_framework_open(&orte_errmgr_base_framework, 0))) {
@ -472,7 +473,7 @@ static int rte_init(void)
error = "orte_errmgr_base_open"; error = "orte_errmgr_base_open";
goto error; goto error;
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_framework_open"); OPAL_TIMING_ENV_NEXT(rte_init, "errmgr_framework_open");
/* setup my session directory */ /* setup my session directory */
if (orte_create_session_dirs) { if (orte_create_session_dirs) {
@ -508,7 +509,7 @@ static int rte_init(void)
} }
} }
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "create_session_dirs"); OPAL_TIMING_ENV_NEXT(rte_init, "create_session_dirs");
/* if we have info on the HNP and local daemon, process it */ /* if we have info on the HNP and local daemon, process it */
if (NULL != orte_process_info.my_hnp_uri) { if (NULL != orte_process_info.my_hnp_uri) {
@ -560,7 +561,7 @@ static int rte_init(void)
error = "orte_errmgr_base_select"; error = "orte_errmgr_base_select";
goto error; goto error;
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_select"); OPAL_TIMING_ENV_NEXT(rte_init, "errmgr_select");
/* setup process binding */ /* setup process binding */
if (ORTE_SUCCESS != (ret = orte_ess_base_proc_binding())) { if (ORTE_SUCCESS != (ret = orte_ess_base_proc_binding())) {

Просмотреть файл

@ -321,7 +321,6 @@ static int rte_init(void)
error = "orte_state_base_select"; error = "orte_state_base_select";
goto error; goto error;
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "state_framework_open");
/* open the errmgr */ /* open the errmgr */
if (ORTE_SUCCESS != (ret = mca_base_framework_open(&orte_errmgr_base_framework, 0))) { if (ORTE_SUCCESS != (ret = mca_base_framework_open(&orte_errmgr_base_framework, 0))) {
@ -329,7 +328,6 @@ static int rte_init(void)
error = "orte_errmgr_base_open"; error = "orte_errmgr_base_open";
goto error; goto error;
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_framework_open");
/* setup my session directory */ /* setup my session directory */
if (orte_create_session_dirs) { if (orte_create_session_dirs) {
@ -365,7 +363,6 @@ static int rte_init(void)
} }
} }
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "create_session_dirs");
/* if we have info on the HNP and local daemon, process it */ /* if we have info on the HNP and local daemon, process it */
if (NULL != orte_process_info.my_hnp_uri) { if (NULL != orte_process_info.my_hnp_uri) {
@ -417,14 +414,12 @@ static int rte_init(void)
error = "orte_errmgr_base_select"; error = "orte_errmgr_base_select";
goto error; goto error;
} }
OPAL_TIMING_ENV_NEXT(ess_base_setup, "errmgr_select");
/* setup process binding */ /* setup process binding */
if (ORTE_SUCCESS != (ret = orte_ess_base_proc_binding())) { if (ORTE_SUCCESS != (ret = orte_ess_base_proc_binding())) {
error = "proc_binding"; error = "proc_binding";
goto error; goto error;
} }
OPAL_TIMING_ENV_NEXT(rte_init, "ess_base_proc_binding");
/* this needs to be set to enable debugger use when direct launched */ /* this needs to be set to enable debugger use when direct launched */
if (NULL == orte_process_info.my_daemon_uri) { if (NULL == orte_process_info.my_daemon_uri) {
@ -463,7 +458,6 @@ static int rte_init(void)
goto error; goto error;
} }
} }
OPAL_TIMING_ENV_NEXT(rte_init, "rte_init_done");
return ORTE_SUCCESS; return ORTE_SUCCESS;