fast.submissions
fast.submissions.lsf_subs module
- class fast.submissions.lsf_subs.LSFSub(queue, n_tasks=1, max_time=1500, job_name=None, **kwargs)[source]
Bases:
baseLSF submission wrapper.
- Parameters
queue (str,) – The queue to submit.
n_tasks (int, default=1,) – The number of tasks for the submission job.
max_time (int, default = 1500,) – The maximum time for submission job in hours.
job_name (str, default = None,) – The name of the submission job.
- property class_name
- property config
fast.submissions.os_sub module
- class fast.submissions.os_sub.OSWrap(max_n_procs=inf)[source]
Bases:
baseWrapper for the linux operating system.
- property class_name
- property config
- class fast.submissions.os_sub.SPSub(wait=False, **kwargs)[source]
Bases:
baseSubmission wrapper using subprocessing.
- Parameters
wait (bool, default = False,) – Optionally submit and wait for each job. When False, will submit a job and return while it is still running.
- property class_name
- property config
fast.submissions.slurm_subs module
- class fast.submissions.slurm_subs.SlurmSub(queue, n_tasks=1, n_cpus=1, exclusive=False, email=None, max_time=1500, job_name=None, **kwargs)[source]
Bases:
baseSlurm submission wrapper.
- Parameters
queue (str,) – The queue to submit.
n_tasks (int, default=1,) – The number of tasks for the submission job.
n_cpus (int, default = 1,) – Number of cpus to use.
exclusive (bool, default = False,) – To request exclusive use of a node.
email (str, default = None,) – Email address to optionally email updates.
max_time (int, default = 1500,) – The maximum time for submission job in hours.
job_name (str, default = None,) – The name of the submission job.
- property class_name
- property config