Skip to content

Commit 6565f24

Browse files
authored
Merge pull request #3365 from ggouaillardet/topic/v3.x/bind
Use the node index to compare to daemon vpid when identifying procs t…
2 parents b03989c + c975ab1 commit 6565f24

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

orte/mca/odls/base/odls_base_default_fns.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,9 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
398398
if (!ORTE_FLAG_TEST(pptr, ORTE_PROC_FLAG_LOCAL)) {
399399
/* not on the local list */
400400
OPAL_OUTPUT_VERBOSE((5, orte_odls_base_framework.framework_output,
401-
"%s adding proc %s to my local list",
401+
"%s[%s:%d] adding proc %s to my local list",
402402
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
403+
__FILE__, __LINE__,
403404
ORTE_NAME_PRINT(&pptr->name)));
404405
/* keep tabs of the number of local procs */
405406
jdata->num_local_procs++;
@@ -439,8 +440,9 @@ int orte_odls_base_default_construct_child_list(opal_buffer_t *buffer,
439440
if (!ORTE_FLAG_TEST(pptr, ORTE_PROC_FLAG_LOCAL)) {
440441
/* not on the local list */
441442
OPAL_OUTPUT_VERBOSE((5, orte_odls_base_framework.framework_output,
442-
"%s adding proc %s to my local list",
443+
"%s[%s:%d] adding proc %s to my local list",
443444
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
445+
__FILE__, __LINE__,
444446
ORTE_NAME_PRINT(&pptr->name)));
445447
/* keep tabs of the number of local procs */
446448
jdata->num_local_procs++;

orte/mca/rmaps/base/rmaps_base_binding.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,12 +843,15 @@ int orte_rmaps_base_compute_bindings(orte_job_t *jdata)
843843
*/
844844
execute:
845845
/* initialize */
846+
opal_output_verbose(5, orte_rmaps_base_framework.framework_output,
847+
"mca:rmaps: computing bindings for job %s",
848+
ORTE_JOBID_PRINT(jdata->jobid));
846849

847850
for (i=0; i < jdata->map->nodes->size; i++) {
848851
if (NULL == (node = (orte_node_t*)opal_pointer_array_get_item(jdata->map->nodes, i))) {
849852
continue;
850853
}
851-
if (!orte_no_vm && (int)ORTE_PROC_MY_NAME->vpid != i) {
854+
if (!orte_no_vm && (int)ORTE_PROC_MY_NAME->vpid != node->index) {
852855
continue;
853856
}
854857
if (!orte_do_not_launch) {

0 commit comments

Comments
 (0)