htcondor2
Members
- htcondor2.enable_debug()
Enable debugging output from HTCondor, where the output is sent to
stderr
. The logging level is set by theTOOL_DEBUG
parameter.
- htcondor2.enable_log()
Enable debugging output from HTCondor, where the output is sent to a file. The logging level is set by the
TOOL_DEBUG
parameter, and the file byTOOL_LOG
.
- htcondor2.log(level, message)
Log a message using the HTCondor logging subsystem.
- htcondor2.param
A
collections.abc.MutableMapping
of the HTCondor configuration. Changes are reflected in the current process’s memory immediately, but are never written to disk. To change another process’s configuration (e.g., a running daemon’s), useRemoteParam
.
- htcondor2.platform()
Returns the platform of HTCondor this module was compiled for.
- htcondor2.reload_config()
Reload the HTCondor configuration from disk.
- htcondor2.send_command(ad, dc, target)
Send a command to an HTCondor daemon.
- Parameters
ad (classad2.ClassAd) – The daemon’s location.
dc (DaemonCommand) – The command.
target (str) – An optional parameter for the command.
- htcondor2.set_ready_state(state='Ready')
Tell the condor_master that this daemon is in a state.
- htcondor2.set_subsystem()
Set the subsystem name for the object.
The subsystem is primarily used for the parsing of the HTCondor configuration file.
- Parameters
name (str) – The subsystem name.
daemon_type (
SubsystemType
) – The HTCondor daemon type. The default value ofSubsystemType.Auto
infers the type from the name parameter.
- htcondor2.version()
Returns the version of HTCondor this module is linked against.