[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b4-10-g6b41775

Service Account noreply at mpich.org
Tue Jul 28 14:21:51 CDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  6b41775b2056ff18b3c28aab71764e35904c00fa (commit)
      from  fcbe6bd1e7795b2f213db7959d20e882abecd075 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/6b41775b2056ff18b3c28aab71764e35904c00fa

commit 6b41775b2056ff18b3c28aab71764e35904c00fa
Author: Aaron S. Knister <aknister at discover.nccs.nasa.gov>
Date:   Mon Jul 27 15:39:20 2015 -0400

    let srun know definitiviely there's no stdin
    
    Signed-off-by: Pavan Balaji <balaji at anl.gov>

diff --git a/src/pm/hydra/tools/bootstrap/external/slurm_launch.c b/src/pm/hydra/tools/bootstrap/external/slurm_launch.c
index 682fa22..ad62e21 100644
--- a/src/pm/hydra/tools/bootstrap/external/slurm_launch.c
+++ b/src/pm/hydra/tools/bootstrap/external/slurm_launch.c
@@ -102,6 +102,11 @@ HYD_status HYDT_bscd_slurm_launch_procs(char **args, struct HYD_proxy *proxy_lis
     targs[idx++] = HYDU_strdup("-n");
     targs[idx++] = HYDU_int_to_str(num_hosts);
 
+    /* Force srun to ignore stdin to avoid issues with
+     * unexpected files open on fd 0 */
+    targs[idx++] = HYDU_strdup("--input");
+    targs[idx++] = HYDU_strdup("none");
+
     MPL_env2str("HYDRA_LAUNCHER_EXTRA_ARGS", (const char **) &extra_arg_list);
     if (extra_arg_list) {
         extra_arg = strtok(extra_arg_list, " ");

-----------------------------------------------------------------------

Summary of changes:
 .../hydra/tools/bootstrap/external/slurm_launch.c  |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list