Skip to content

Commit 8ab28cd

Browse files
author
Ralph Castain
committed
Fix a typo that causes segfaults on multi-node executions
1 parent 0b3e3c6 commit 8ab28cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

orte/mca/ess/base/ess_base_std_orted.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,6 @@ int orte_ess_base_orted_setup(char **hosts)
349349
proc->name.jobid = ORTE_PROC_MY_NAME->jobid;
350350
proc->name.vpid = ORTE_PROC_MY_NAME->vpid;
351351
proc->pid = orte_process_info.pid;
352-
proc->rml_uri = orte_rml.get_contact_info();
353352
proc->state = ORTE_PROC_STATE_RUNNING;
354353
opal_pointer_array_set_item(jdata->procs, proc->name.vpid, proc);
355354
/* record that the daemon (i.e., us) is on this node
@@ -392,6 +391,9 @@ int orte_ess_base_orted_setup(char **hosts)
392391
error = "orte_rml_base_select";
393392
goto error;
394393
}
394+
/* add our contact info */
395+
proc->rml_uri = orte_rml.get_contact_info();
396+
395397
/* Messaging QoS Layer */
396398
if (ORTE_SUCCESS != (ret = mca_base_framework_open(&orte_qos_base_framework, 0))) {
397399
ORTE_ERROR_LOG(ret);

0 commit comments

Comments
 (0)