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.get_constraints()[source]
gwcelery.tools.condor.run_exec(*args)[source]
gwcelery.tools.condor.running()[source]

Determine if GWCelery is already running under HTCondor.

gwcelery.tools.condor.submit()[source]

Submit all GWCelery jobs to HTCondor (if not already running).

gwcelery.tools.condor.resubmit()[source]

Remove any running GWCelery jobs and resubmit to HTCondor.

gwcelery.tools.condor.rm()[source]

Remove all GWCelery jobs.

gwcelery.tools.condor.hold()[source]

Put all GWCelery jobs on hold.

gwcelery.tools.condor.release()[source]

Release all GWCelery jobs from hold status.

gwcelery.tools.condor.q()[source]

Show status of all GWCelery jobs.

class gwcelery.tools.condor.CondorCommand(app=None, get_app=None, no_color=False, stdout=None, stderr=None, quiet=False, on_error=None, on_usage_error=None)[source]

Bases: celery.bin.base.Command

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.

add_arguments(parser)[source]
run(func=None, **kwargs)[source]