feat(job-array-one-based-index): XCE_JOBINDEX is the element number (task 3.2)
The worker sets XCE_JOBINDEX to the element number for jobs carrying the array marking (a one-element array's element gets 1) and to 0 otherwise. A submission-supplied XCE_JOBINDEX is not applied and a WARN names the job and the ignored variable; XCE_JOBID handling is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c60946c097
commit
7aa00f0d9d
4 changed files with 269 additions and 4 deletions
|
|
@ -59,7 +59,7 @@
|
|||
- _Boundary: SchedGuard_
|
||||
- _Depends: 1.1_
|
||||
|
||||
- [ ] 3.2 (P) Expose the element number to running jobs
|
||||
- [x] 3.2 (P) Expose the element number to running jobs
|
||||
- Set `XCE_JOBINDEX` to the element number for jobs carrying the array marking and to 0 otherwise
|
||||
- Skip a submission-supplied `XCE_JOBINDEX`, logging a WARN that names the job and the ignored variable; leave `XCE_JOBID` handling unchanged
|
||||
- Add the worker test and register it in the worker test build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue