Sigh - fix a couple of spots I missed
Refs trac:3683 This commit was SVN r28843. The following Trac tickets were found above: Ticket 3683 --> https://svn.open-mpi.org/trac/ompi/ticket/3683
Этот коммит содержится в:
родитель
4eb0dfa039
Коммит
256034a3dc
@ -129,16 +129,14 @@ static int rte_init(void)
|
|||||||
}
|
}
|
||||||
ORTE_PROC_MY_NAME->jobid = jobid;
|
ORTE_PROC_MY_NAME->jobid = jobid;
|
||||||
/* get our rank from PMI */
|
/* get our rank from PMI */
|
||||||
if (!(ret = mca_common_pmi_rank(&i))) {
|
if (!mca_common_pmi_rank(&i)) {
|
||||||
OPAL_PMI_ERROR(ret, "PMI_Get_rank");
|
|
||||||
error = "could not get PMI rank";
|
error = "could not get PMI rank";
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
ORTE_PROC_MY_NAME->vpid = i + 1; /* compensate for orterun */
|
ORTE_PROC_MY_NAME->vpid = i + 1; /* compensate for orterun */
|
||||||
|
|
||||||
/* get the number of procs from PMI */
|
/* get the number of procs from PMI */
|
||||||
if (!(ret = mca_common_pmi_size(&i))) {
|
if (!mca_common_pmi_size(&i)) {
|
||||||
OPAL_PMI_ERROR(ret, "PMI_Get_universe_size");
|
|
||||||
error = "could not get PMI universe size";
|
error = "could not get PMI universe size";
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user