1
1

Move an output message so it only comes out under specific conditions.

You will now receive a message indicating that an existing universe was detected, but connection to it was refused. The system will tell you the name it created for the new universe it will now be using.

This commit was SVN r5747.
Этот коммит содержится в:
Ralph Castain 2005-05-18 16:36:11 +00:00
родитель 1b42e973d5
Коммит d1fe8b6b90

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

@ -208,23 +208,23 @@ int orte_init_stage1(void)
orte_process_info.gpr_replica_uri = strdup(univ.seed_uri);
} else {
if (ORTE_ERR_NOT_FOUND != ret) {
/* if it exists but no contact could be established,
* define unique name based on current one.
* and start new universe with me as seed
*/
universe = strdup(orte_universe_info.name);
free(orte_universe_info.name);
orte_universe_info.name = NULL;
pid = getpid();
if (0 > asprintf(&orte_universe_info.name, "%s-%d", universe, pid)) {
ompi_output(0, "orte_init: failed to create unique universe name");
return ret;
}
}
ompi_output(0, "Could not join an existing universe");
ompi_output(0, "Establishing a new one named: %s",
orte_universe_info.name);
/* if it exists but no contact could be established,
* define unique name based on current one.
* and start new universe with me as seed
*/
universe = strdup(orte_universe_info.name);
free(orte_universe_info.name);
orte_universe_info.name = NULL;
pid = getpid();
if (0 > asprintf(&orte_universe_info.name, "%s-%d", universe, pid)) {
ompi_output(0, "orte_init: failed to create unique universe name");
return ret;
}
ompi_output(0, "Could not join a running, existing universe");
ompi_output(0, "Establishing a new one named: %s",
orte_universe_info.name);
}
orte_process_info.seed = true;
/* since we are seed, ensure that all replica info is NULL'd */
if (NULL != orte_process_info.ns_replica_uri) {