From 09bd66a6364f5cb7162a7d8c164753983e362d1d Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Thu, 4 Nov 2004 21:39:46 +0000 Subject: [PATCH] * so it turns out that you actually have to increment the counter in order to fill in the entire array. This should fix the random badness seen at the end of mpirun if you launched on more than one machine This commit was SVN r3517. --- src/mca/pcm/base/pcm_base_job_track.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mca/pcm/base/pcm_base_job_track.c b/src/mca/pcm/base/pcm_base_job_track.c index 1cd831e11d..04e8fa4eaf 100644 --- a/src/mca/pcm/base/pcm_base_job_track.c +++ b/src/mca/pcm/base/pcm_base_job_track.c @@ -287,7 +287,7 @@ mca_pcm_base_job_list_get_all_starters(mca_pcm_base_job_list_t *me, pid_item != ompi_list_get_end(jobs_entry->pids) ; pid_item = ompi_list_get_next(pid_item)) { pids_entry = (mca_pcm_base_pids_t*) pid_item; - (*pids)[i] = pids_entry->starter; + (*pids)[i++] = pids_entry->starter; } }