Your best bet would probably to use a job completion plugin and make note of the job's allocated node list being NULL. See:
http://slurm.schedmd.com/jobcompplugins.html
Quoting Martins Innus <[email protected]>:
Hi,If a job in the queue is cancelled while in the pending state, is it possible to catch that in a job submit plugin? Or some other plugin type?Thanks Martins
-- Morris "Moe" Jette CTO, SchedMD LLC Commercial Slurm Development and Support
