Skip to content

Conversation

@arteymix
Copy link
Member

@arteymix arteymix commented Oct 25, 2025

A scheduled array task

TODO:

  • integrate this with batch parameter to collapse multiple scheduled tasks into a job array
  • integrate with sacct
  • add a submission mecahnism based on Slurm REST API

Depends on #12 being merged.

arteymix and others added 30 commits October 21, 2025 18:48
Eliminate RemoveTaskOutputOnFailureMixin.
Move schedulers in a new module and add an interface for schedulable
tasks.

Include Luigi metadata in the Slurm --comment field.
arteymix and others added 19 commits October 22, 2025 10:36
Task parameters can be overwritten by the subclass, so it's best to
defer their validation when they are actually used.
Make srun binary configurable

Add individual configuration sections for each scheduler.

Add a test configuration to use for the CI.
Simply use the task ID in the comment instead of nesting a JSON payload.

Cache squeue output to minimize the number of calls to squeue,
especially when multiple workers are overseeing Slurm jobs.

Peform more validation with graceful logging when the squeue payload
does not match expectations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants