From 646a3500a75df870975201a0102820513e842b2d Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 20 Aug 2009 00:07:38 +0000 Subject: [PATCH] Correctly account for number of procs in the job This commit was SVN r21843. --- orte/mca/rmaps/resilient/rmaps_resilient.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/orte/mca/rmaps/resilient/rmaps_resilient.c b/orte/mca/rmaps/resilient/rmaps_resilient.c index a671803dc9..0b2b32d086 100644 --- a/orte/mca/rmaps/resilient/rmaps_resilient.c +++ b/orte/mca/rmaps/resilient/rmaps_resilient.c @@ -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; } @@ -483,6 +480,7 @@ static int orte_rmaps_resilient_map(orte_job_t *jdata) cleanup: /* 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 */