Yeah, I started working on it earlier this evening - will look some more tomorrow
> On Aug 22, 2016, at 7:57 PM, Gilles Gouaillardet <gil...@rist.or.jp> wrote: > > Folks, > > > i made a trivial test > > > echo hello | mpirun -np 1 cat > > > and with v2.x and v1.10, the output is "hello" as expected > > but with master, there is no output at all (!) > > > > i was able to fix that with the dirty workaround below. > > > the root cause (on master) is that orte_cmd_options.stdin_target is NULL. > > fwiw, i could not see such option in the output of ompi_info --all > > > as far as i understand, such option is registered in > orte/mca/schizo/ompi/schizo_ompi.c and/or orte/orted/orted_main.c > > i tried various things, but was unable to have this option registered. > > > can someone more familiar with this part please have a look ? > > > Cheers, > > > Gilles > > > diff --git a/orte/orted/orted_submit.c b/orte/orted/orted_submit.c > index ec5ad04..db2d93d 100644 > --- a/orte/orted/orted_submit.c > +++ b/orte/orted/orted_submit.c > @@ -756,6 +756,9 @@ int orte_submit_job(char *argv[], int *index, > > > /* check what user wants us to do with stdin */ > + if (NULL == orte_cmd_options.stdin_target) { > + orte_cmd_options.stdin_target = "0"; > + } > if (NULL != orte_cmd_options.stdin_target) { > if (0 == strcmp(orte_cmd_options.stdin_target, "all")) { > jdata->stdin_target = ORTE_VPID_WILDCARD; > @@ -1062,6 +1065,8 @@ static int init_globals(void) > orte_cmd_options.preload_binaries = false; > orte_cmd_options.preload_files = NULL; > > + orte_cmd_options.stdin_target = "0"; > + > /* All done */ > return ORTE_SUCCESS; > } > > > _______________________________________________ > devel mailing list > devel@lists.open-mpi.org > https://rfd.newmexicoconsortium.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel