Commit 0b60818
Fix job slug collision for sharded Frontier jobs
When two shards (1/2 and 2/2) of the same device/interface pair run
concurrently, they generate identical job_slug values and therefore
identical SBATCH -o output file names, causing concurrent writes to
the same file.
Append a shard suffix (e.g. "-1-of-2") to job_slug when $4 is set,
making output files unique per shard. Non-sharded jobs (empty $4)
are unaffected.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 468fcf3 commit 0b60818
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments