Revert that! Need to complete the rest of the change so the orted knows the correct nodeid...
Sorry This commit was SVN r17939.
Этот коммит содержится в:
родитель
dae4518878
Коммит
58d51f2689
@ -544,8 +544,13 @@ static int odls_base_default_setup_fork(orte_app_context_t *context,
|
|||||||
opal_setenv(param, orte_process_info.my_hnp_uri, true, environ_copy);
|
opal_setenv(param, orte_process_info.my_hnp_uri, true, environ_copy);
|
||||||
free(param);
|
free(param);
|
||||||
|
|
||||||
/* pass the nodeid so it can identify which procs are local to it */
|
/* pass our vpid to the process as a "nodeid" so it can
|
||||||
asprintf(¶m2, "%ld", (long)orte_process_info.nodeid);
|
* identify which procs are local to it
|
||||||
|
*/
|
||||||
|
if (ORTE_SUCCESS != (rc = orte_util_convert_vpid_to_string(¶m2, ORTE_PROC_MY_NAME->vpid))) {
|
||||||
|
ORTE_ERROR_LOG(rc);
|
||||||
|
return rc;
|
||||||
|
}
|
||||||
param = mca_base_param_environ_variable("orte","nodeid",NULL);
|
param = mca_base_param_environ_variable("orte","nodeid",NULL);
|
||||||
opal_setenv(param, param2, true, environ_copy);
|
opal_setenv(param, param2, true, environ_copy);
|
||||||
free(param);
|
free(param);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user