Closed zhao-cy closed 1 year ago
In this PR, I added a function get_cmd_cancel_job() to get the command for job cancellation. This is used when resubmitting a pending job. To cancel a job, SGE clusters use qdel <job_id>, whereas Slurm clusters use scancel <job_id>.
get_cmd_cancel_job()
qdel <job_id>
scancel <job_id>
I've tested these on MSI Slurm + CUBIC SGE clusters:
--resubmit pending
--resubmit-job <pending job id>
In this PR, I added a function
get_cmd_cancel_job()
to get the command for job cancellation. This is used when resubmitting a pending job. To cancel a job, SGE clusters useqdel <job_id>
, whereas Slurm clusters usescancel <job_id>
.