I'm writing a small tool using the api- I'm running into a segmentation
fault when I use "slurm_terminate_job" to remove a job from a node.  It
seems to work properly if I use "slurm_kill_job":

ec = slurm_terminate_job( job_buf_ptr->job_array[j].job_id );

results in segfault

ec = slurm_kill_job( job_buf_ptr->job_array[j].job_id, 9, 0 );

works fine.

I'm having troubles generating the debug symbols I need from libslurm, so I
don't have a whole lot of good debugging information yet (will provide
soonest).  Meantime- is there a generally preferred way to end a running
job via the API?  It looks like terminate is neater (or at least more
thorough), but kill is getting the job done.  Is there a reason that
"slurm_kill_job" shouldn't be used?

Thanks

Michael

Reply via email to