Skip to content

Commit 80eebbe

Browse files
authored
Merge pull request #7896 from rhc54/cmr41/rk
v4.1.x: Increment the vpid after assignment
2 parents d17685a + 1246834 commit 80eebbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orte/mca/rmaps/base/rmaps_base_ranking.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ static int rank_by(orte_job_t *jdata,
456456
continue;
457457
}
458458
/* assign the vpid */
459-
proc->name.vpid = vpid;
459+
proc->name.vpid = vpid++;
460460
if (0 == cnt) {
461461
app->first_rank = proc->name.vpid;
462462
}

0 commit comments

Comments
 (0)