From 498a1b5e085be3310d3f2a6a37eb5968e3d640df Mon Sep 17 00:00:00 2001 From: Mark Grondona <mgrondona@llnl.gov> Date: Tue, 23 Sep 2003 23:40:24 +0000 Subject: [PATCH] o set "unused" host's state to SRUN_HOST_REPLIED to fix bug where srun erroneously expected replies from these hosts (gnats:291) --- src/srun/launch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/srun/launch.c b/src/srun/launch.c index e3f1b62a9d3..ac337f33d77 100644 --- a/src/srun/launch.c +++ b/src/srun/launch.c @@ -331,6 +331,7 @@ static void _p_launch(slurm_msg_t *req, job_t *job) if (job->ntask[i] == 0) { /* No tasks for this node */ debug("Node %s is unused",job->host[i]); + job->host_state[i] = SRUN_HOST_REPLIED; continue; } -- GitLab