-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Description
Branch is here
Classes
-
Job
class providing read-only access to all possible attributes of jobs (e.g. time of submission) -
Jobs
class, acting as a custom collection (dict) to retrieve actual job-information, and holds all theJob
instances which carry the information. -
JobStep
class providing read-only access to all possible attributes of a single Job-step -
JobSteps
class, acting as custom collection (dict) to hold all the 'JobStep' instances -
JobSubmission
class, acting as a interface to create a job-submission records and to submit them- support parsing
#SBATCH
directives from the specified submit-script
- will be pretty easy once all attributes also have the logic to accept sbatch-like input for these (e.g. parsing something more complex like--cpu-frequency
. - support loading submit-description parameters from environment variables. Same as described above. There really needs to be a way to use env vars for setting params like SBATCH_xxx #130
- support parsing
General Functionality for a Job
- cancel (SIGKILL)
- send_signal (e.g send any signal like SIGTERM,SIGKILL,SIGUSR1 to the job)
- suspend/unsuspend
- hold/release
- modify (user must pass a JobSubmission instance with the changes to be made)
- notify
- Retrieve the batch-script and return it as a string
General Functionality for a JobStep
- cancel
- send_signal
- modify (only changing the TimeLimit is allowed for a job step
Other
- Documentation
- Write tests
- Write examples
Related to #11
Metadata
Metadata
Assignees
Labels
No labels