Correct a misplaced bracket - daemons shouldn't be doing app-related operations
This may need a patch for 1.8.2, but we can try to directly apply it cmr=v1.8.2:reviewer=hjelmn This commit was SVN r31754.
Этот коммит содержится в:
родитель
f27123a20d
Коммит
3a1c2fff3e
@ -133,7 +133,6 @@ static int rte_init(void)
|
||||
goto error;
|
||||
}
|
||||
ORTE_PROC_MY_NAME->jobid = jobid;
|
||||
opal_output(0, "GETTING RANK");
|
||||
/* get our rank from PMI */
|
||||
if (!mca_common_pmi_rank(&i)) {
|
||||
error = "could not get PMI rank";
|
||||
@ -154,7 +153,12 @@ static int rte_init(void)
|
||||
error = "orte_ess_base_orted_setup";
|
||||
goto error;
|
||||
}
|
||||
} else { /* we are a direct-launched MPI process */
|
||||
return ORTE_SUCCESS;
|
||||
|
||||
}
|
||||
|
||||
/* we are a direct-launched MPI process */
|
||||
|
||||
#if WANT_PMI2_SUPPORT
|
||||
/* Get domain id */
|
||||
pmi_id = (char*)malloc(PMI2_MAX_VALLEN);
|
||||
@ -366,7 +370,6 @@ static int rte_init(void)
|
||||
|
||||
/* this needs to be set to enable debugger use when direct launched */
|
||||
orte_standalone_operation = true;
|
||||
}
|
||||
|
||||
/* set max procs */
|
||||
if (orte_process_info.max_procs < orte_process_info.num_procs) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user