Hello All,

We wish to do some cleanup when user kills a pending slurm job using scancel.

Our setup has a client filter plugin which sets some internal variables while interacting to a remote process.
This needs to be undone during job termination. Is there a way to do this (using submitter credentials) ?

Also, if one is to use a custom select plugin is there a way to inform select that the job is terminated.
Presently, we don't find that slurmctld informs select plugin when a pending job is killed.

Thanks in advance for any pointers !

Regards,
Bhaskar.