Skip to content

Commit ba24786

Browse files
authored
Merge pull request #10695 from rhc54/topic/dpm
Fix the dpm to fwd IO to the spawning parent
2 parents 5575c86 + 48dbd1d commit ba24786

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ompi/dpm/dpm.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,6 +1624,16 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
16241624
}
16251625
return MPI_ERR_SPAWN;
16261626
}
1627+
/* tell it to forward output to us */
1628+
info = OBJ_NEW(opal_info_item_t);
1629+
PMIX_INFO_LOAD(&info->info, PMIX_FWD_STDOUT, NULL, PMIX_BOOL);
1630+
opal_list_append(&job_info, &info->super);
1631+
info = OBJ_NEW(opal_info_item_t);
1632+
PMIX_INFO_LOAD(&info->info, PMIX_FWD_STDERR, NULL, PMIX_BOOL);
1633+
opal_list_append(&job_info, &info->super);
1634+
info = OBJ_NEW(opal_info_item_t);
1635+
PMIX_INFO_LOAD(&info->info, PMIX_FWD_STDDIAG, NULL, PMIX_BOOL);
1636+
opal_list_append(&job_info, &info->super);
16271637
}
16281638
if (NULL != hostfiles) {
16291639
opal_argv_free(hostfiles);

0 commit comments

Comments
 (0)