1
1

Correctly account for number of procs in the job

This commit was SVN r21843.
Этот коммит содержится в:
Ralph Castain 2009-08-20 00:07:38 +00:00
родитель e66a0be796
Коммит 646a3500a7

Просмотреть файл

@ -64,9 +64,6 @@ static int rr_map_default(orte_job_t *jdata, orte_app_context_t *app,
} }
} }
/* update number of procs */
jdata->num_procs += num_procs;
return ORTE_SUCCESS; return ORTE_SUCCESS;
} }
@ -483,6 +480,7 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata)
cleanup: cleanup:
/* track number of procs */ /* track number of procs */
jdata->num_procs += app->num_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
*/ */