gwcelery.tools.condor module

Shortcuts for HTCondor commands to manage deployment of GWCelery on LIGO Data Grid clusters.

These commands apply to the GWCelery instance that is running in the current working directory.

gwcelery.tools.condor.generate_dag_and_submit_files(config)[source]

Generate DAG and submit files dynamically based on configuration.

Parameters:

config (dict) – Configuration dictionary containing condor settings

Returns:

Path to the generated DAG file

Return type:

Path

gwcelery.tools.condor.get_constraints(ignore_dagman=False, only_dagman=False)[source]

Get the constraint to select GWCelery jobs.

Parameters:
  • ignore_dagman (bool) – If True, exclude the DAGMan coordinator job (JobUniverse != 7)

  • only_dagman (bool) – If True, only include the DAGMan coordinator job (JobUniverse == 7)

gwcelery.tools.condor.run_exec(*args)[source]
gwcelery.tools.condor.running()[source]

Determine if GWCelery is already running under HTCondor.