set contact info before attempting to use ns
This commit was SVN r5767.
Этот коммит содержится в:
родитель
c77f24aa4b
Коммит
62ae285731
@ -263,6 +263,14 @@ int orte_init_stage1(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* set contact info for ns/gpr */
|
||||||
|
if(NULL != orte_process_info.ns_replica_uri) {
|
||||||
|
orte_rml.set_uri(orte_process_info.ns_replica_uri);
|
||||||
|
}
|
||||||
|
if(NULL != orte_process_info.gpr_replica_uri) {
|
||||||
|
orte_rml.set_uri(orte_process_info.gpr_replica_uri);
|
||||||
|
}
|
||||||
|
|
||||||
/***** SET MY NAME *****/
|
/***** SET MY NAME *****/
|
||||||
if (ORTE_SUCCESS != (ret = orte_ns.set_my_name())) {
|
if (ORTE_SUCCESS != (ret = orte_ns.set_my_name())) {
|
||||||
ORTE_ERROR_LOG(ret);
|
ORTE_ERROR_LOG(ret);
|
||||||
@ -341,14 +349,6 @@ int orte_init_stage1(void)
|
|||||||
free(contact_path);
|
free(contact_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set contact info for ns/gpr */
|
|
||||||
if(NULL != orte_process_info.ns_replica_uri) {
|
|
||||||
orte_rml.set_uri(orte_process_info.ns_replica_uri);
|
|
||||||
}
|
|
||||||
if(NULL != orte_process_info.gpr_replica_uri) {
|
|
||||||
orte_rml.set_uri(orte_process_info.gpr_replica_uri);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* open/load rmgr/soh */
|
/* open/load rmgr/soh */
|
||||||
|
|
||||||
if (ORTE_SUCCESS != (ret = orte_rmgr_base_open())) {
|
if (ORTE_SUCCESS != (ret = orte_rmgr_base_open())) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user