job_handler module¶
Job handler
Machine specific job submission and tracking routines. Provides a unified interface for all job handling. Implements the JobHandler class which will be initialized to the machine the calculations are running on from the provided options.
-
class
job_handler.
JobHandler
(options)[source]¶ Bases:
object
Abstraction of batch scheduler submission.
Provides a few helper methods for job submission and tracking.
- submit
- run a job; returns a jobid for a queued job, True for a completed job and False for a failed job
- postrun
- submit script to run itself after completion