jade.jobs.job_runner.JobRunner¶
- class jade.jobs.job_runner.JobRunner(config, output, batch_id=0)[source]¶
Bases:
JobManagerBase
Manages execution of jobs on a node.
Methods
Get the batch post-process config data
Get results of completed jobs.
Get the number of jobs to execute.
Get a job results.
Get a summary of job results in text form.
run_jobs
([distributed_submitter, verbose, ...])Run the jobs.
Attributes
config
event_filename
Return the node ID of the current system.
- property node_id¶
Return the node ID of the current system.
- Return type:
str
- run_jobs(distributed_submitter=True, verbose=False, num_parallel_processes_per_node=None)[source]¶
Run the jobs.
- Parameters:
distributed_submitter (bool) – If True, make cluster updates.
verbose (bool) – If True, enable debug logging.
num_parallel_processes_per_node (int) – Number of processes to run in parallel; defaults to num CPUs
- Return type:
- get_batch_post_process_config()¶
Get the batch post-process config data
- get_num_jobs()¶
Get the number of jobs to execute.
- Return type:
int
- get_results_summmary()¶
Get a job results.
- Return type:
dict
- get_results_summmary_report()¶
Get a summary of job results in text form.
- Return type:
str