Skip to content
Snippets Groups Projects
Commit 09986b80 authored by Moe Jette's avatar Moe Jette
Browse files

Keep I/O thread running until all I/O completes

parent 4e245a3f
No related branches found
No related tags found
No related merge requests found
...@@ -416,8 +416,7 @@ static char *_host_state_name(host_state_t state_inx) ...@@ -416,8 +416,7 @@ static char *_host_state_name(host_state_t state_inx)
static bool _job_io_done(job_t *job) static bool _job_io_done(job_t *job)
{ {
if ((job->state == SRUN_JOB_DETACHED) || if (job->state == SRUN_JOB_DETACHED)
(job->state == SRUN_JOB_OVERDONE))
return true; return true;
else else
return false; return false;
......
...@@ -379,7 +379,7 @@ _exit_handler(job_t *job, slurm_msg_t *exit_msg) ...@@ -379,7 +379,7 @@ _exit_handler(job_t *job, slurm_msg_t *exit_msg)
tasks_exited++; tasks_exited++;
if (tasks_exited == opt.nprocs) { if (tasks_exited == opt.nprocs) {
debug2("all tasks exited"); debug2("All tasks exited");
update_job_state(job, SRUN_JOB_OVERDONE); update_job_state(job, SRUN_JOB_OVERDONE);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment