Run a set of jobs in a local multiprocessing pool using Python's multiprocessing module. More...
Public Member Functions | |
__init__ (self) | |
submit_job (self, job_id) | |
Make this a no-op as we do not implement single job submission for the processing pool. | |
parse_args (self, args) | |
Parse command line arguments and perform setup. | |
submit (self) | |
Submit jobs to a local processing pool. | |
![]() | |
default_rundir (self, job_id=None) | |
build_cmd (self, job_id) | |
This is the basic implementation of building a command to run the job from a batch system. | |
Public Attributes | |
pool_size | |
![]() | |
parser | |
script_name | |
script | |
jobstore | |
debug | |
log_dir | |
run_dir | |
check_output | |
job_ids | |
job_steps | |
start_job_num | |
end_job_num | |
config_files | |
Static Public Attributes | |
int | max_wait = 999999 |
Additional Inherited Members | |
![]() | |
_logfile (self, job_id) | |
Get the base name of a log file for the job. | |
_get_filtered_job_ids (self) | |
Get a list of job IDs to submit based on parsed command line options and whether output files are being checked. | |
_job_ids_missing_output (self, job_ids) | |
Get a list of IDs for jobs that are missing output files. | |
![]() | |
_outputs_exist (job) | |
Check if all output files exist for the given job. | |
Run a set of jobs in a local multiprocessing pool using Python's multiprocessing module.
The number of processes to spawn can be provided using the '-p' argument.
parse_args | ( | self, | |
args | |||
) |
submit | ( | self | ) |
submit_job | ( | self, | |
job_id | |||
) |