Skip to content

Commit 88ebfac

Browse files
Ralph Castainjsquyres
authored andcommitted
Silence warning
(cherry picked from commit open-mpi/ompi@f53d3c7)
1 parent 6908214 commit 88ebfac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orte/mca/rmaps/rank_file/rmaps_rank_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static int orte_rmaps_rf_map(orte_job_t *jdata)
216216
/* all would be oversubscribed, so take the least loaded one */
217217
k = UINT32_MAX;
218218
OPAL_LIST_FOREACH(nd, &node_list, orte_node_t) {
219-
if (nd->num_procs < k) {
219+
if (nd->num_procs < (orte_vpid_t)k) {
220220
k = nd->num_procs;
221221
node = nd;
222222
}

0 commit comments

Comments
 (0)