Commit 1c81fc0
ci: submit-job.sh always submits fresh, cancels any stale SLURM job first
On rerun, the intent is to cancel the old job and run a fresh one —
not to reuse an existing running job. Remove the early-exit that skipped
resubmission for RUNNING/PENDING jobs; instead scancel any live job as a
safety net (in case the 'Cancel SLURM Jobs' step did not fire due to
SIGKILL), then always fall through to a fresh sbatch submission.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 07c4ab0 commit 1c81fc0
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments