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

Fix bug in srun to clean-up upon failure of an allocated node

    (srun -A would generate a segmentation fault, Chris Holmes, HP).
parent 7bfe4a5d
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,8 @@ documents those changes that are of interest to users and admins. ...@@ -3,6 +3,8 @@ documents those changes that are of interest to users and admins.
* Changes in SLURM 0.5.0-pre2 * Changes in SLURM 0.5.0-pre2
============================= =============================
-- Fix bug in srun to clean-up upon failure of an allocated node
(srun -A would generate a segmentation fault, Chris Holmes, HP).
* Changes in SLURM 0.5.0-pre1 * Changes in SLURM 0.5.0-pre1
============================= =============================
......
...@@ -207,7 +207,8 @@ static void _node_fail_handler(char *nodelist, job_t *job) ...@@ -207,7 +207,8 @@ static void _node_fail_handler(char *nodelist, job_t *job)
update_job_state(job, SRUN_JOB_FORCETERM); update_job_state(job, SRUN_JOB_FORCETERM);
info("sending Ctrl-C to remaining tasks"); info("sending Ctrl-C to remaining tasks");
fwd_signal(job, SIGINT); fwd_signal(job, SIGINT);
pthread_kill(job->ioid, SIGHUP); if (job->ioid)
pthread_kill(job->ioid, SIGHUP);
} }
static bool _job_msg_done(job_t *job) static bool _job_msg_done(job_t *job)
......
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