lisa_noise.cli.schedulers ========================= .. py:module:: lisa_noise.cli.schedulers Attributes ---------- .. autoapisummary:: lisa_noise.cli.schedulers.logger Classes ------- .. autoapisummary:: lisa_noise.cli.schedulers.JobSpec Functions --------- .. autoapisummary:: lisa_noise.cli.schedulers.build_condor lisa_noise.cli.schedulers.build_slurm Module Contents --------------- .. py:data:: logger .. py:class:: JobSpec Scheduler-agnostic description of the pipeline jobs. Built once from config; consumed by each scheduler backend. .. py:attribute:: executable :type: str .. py:attribute:: config_path :type: pathlib.Path .. py:attribute:: output_dir :type: pathlib.Path .. py:attribute:: log_dir :type: pathlib.Path .. py:attribute:: submit_dir :type: pathlib.Path .. py:attribute:: n_segments :type: int .. py:attribute:: request_memory :type: str .. py:attribute:: request_cpus :type: str .. py:attribute:: accounting_tag :type: str .. py:method:: from_config(config: dict[str, Any], config_path: str, n_segments: int) -> JobSpec :classmethod: .. py:method:: run_args(segment_idx: int) -> str .. py:method:: collect_args() -> str .. py:function:: build_condor(config: dict[str, Any], config_path: str, n_segments: int, submit: bool) -> None Write Condor submit files and a DAGMan DAG via pycondor, then optionally submit. .. py:function:: build_slurm(config: dict[str, Any], config_path: str, n_segments: int, submit: bool) -> None Write a Slurm array batch script, then optionally submit via sbatch.