From 8e6da2ee761a84f8467276d17d19b6afaee64a49 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Thu, 27 Mar 2008 00:19:13 +0000 Subject: [PATCH] Maintain the mapping bookmark across multiple comm_spawns This commit was SVN r17984. --- orte/mca/plm/base/plm_base_receive.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orte/mca/plm/base/plm_base_receive.c b/orte/mca/plm/base/plm_base_receive.c index 5449422f02..42c8888e95 100644 --- a/orte/mca/plm/base/plm_base_receive.c +++ b/orte/mca/plm/base/plm_base_receive.c @@ -149,6 +149,9 @@ void orte_plm_base_receive_process_msg(int fd, short event, void *data) } job = jdata->jobid; + /* return the favor so that any repetitive comm_spawns track each other */ + parent->bookmark = jdata->bookmark; + /* if the child is an ORTE job, wait for the procs to report they are alive */ if (!(jdata->controls & ORTE_JOB_CONTROL_NON_ORTE_JOB)) { ORTE_PROGRESSED_WAIT(false, jdata->num_reported, jdata->num_procs);