Update the #procs in the job prior to assigning vpids for each app_context.
This commit was SVN r22929.
Этот коммит содержится в:
родитель
6b43b76f9d
Коммит
84c7973df8
@ -542,6 +542,9 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
/* track number of procs */
|
||||||
|
jdata->num_procs += app->num_procs;
|
||||||
|
|
||||||
/* compute vpids and add proc objects to the job - this has to be
|
/* compute vpids and add proc objects to the job - this has to be
|
||||||
* done after each app_context is mapped in order to keep the
|
* done after each app_context is mapped in order to keep the
|
||||||
* vpids contiguous within an app_context
|
* vpids contiguous within an app_context
|
||||||
@ -551,9 +554,6 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata)
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* track number of procs */
|
|
||||||
jdata->num_procs += app->num_procs;
|
|
||||||
|
|
||||||
/* cleanup the node list - it can differ from one app_context
|
/* cleanup the node list - it can differ from one app_context
|
||||||
* to another, so we have to get it every time
|
* to another, so we have to get it every time
|
||||||
*/
|
*/
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user