jobflow_remote.remote.queue module#
- class jobflow_remote.remote.queue.QueueManager(scheduler_io: BaseSchedulerIO, host: BaseHost, timeout_exec: int | None = None)[source]#
Bases:
object
Base class for job queues.
- execute_cmd(cmd: str, workdir: str | Path | None = None, timeout: int | None = None)[source]#
Execute a command.
- get_jobs_list(jobs: Sequence[QJob | int | str] | None = None, user: str | None = None, timeout: int | None = None) list[QJob] [source]#
- get_submission_script(commands: str | list[str] | None, options: dict | QResources | None = None, work_dir: str | Path | None = None, pre_run: str | list[str] | None = None, post_run: str | list[str] | None = None, export: dict | None = None, modules: list[str] | None = None) str [source]#
- submit(commands: str | list[str] | None, options=None, work_dir=None, pre_run: str | list[str] | None = None, post_run: str | list[str] | None = None, export: dict | None = None, modules: list[str] | None = None, script_fname='submit.sh', create_submit_dir: bool = False, timeout: int | None = None) SubmissionResult [source]#