From 84c7973df875bf8608beab5de3c90d30c1bd6f3b Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sat, 3 Apr 2010 00:03:35 +0000 Subject: [PATCH] Update the #procs in the job prior to assigning vpids for each app_context. This commit was SVN r22929. --- orte/mca/rmaps/resilient/rmaps_resilient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/orte/mca/rmaps/resilient/rmaps_resilient.c b/orte/mca/rmaps/resilient/rmaps_resilient.c index 0d4e426849..03d7f7d09c 100644 --- a/orte/mca/rmaps/resilient/rmaps_resilient.c +++ b/orte/mca/rmaps/resilient/rmaps_resilient.c @@ -542,6 +542,9 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata) } cleanup: + /* track number of procs */ + jdata->num_procs += app->num_procs; + /* 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 * vpids contiguous within an app_context @@ -551,9 +554,6 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata) return rc; } - /* track number of procs */ - jdata->num_procs += app->num_procs; - /* cleanup the node list - it can differ from one app_context * to another, so we have to get it every time */