Condor

Condor.py is a DIRAC independent class representing Condor batch system. Condor objects are used as backend batch system representation for LocalComputingElement and SSHComputingElement classes

class DIRAC.Resources.Computing.BatchSystems.Condor.Condor

Bases: object

getCEStatus(**kwargs)

Get the overall status of the CE

getJobOutputFiles(**kwargs)

Get output file names and templates for the specific CE

getJobStatus(**kwargs)

Get status of the jobs in the given list

killJob(**kwargs)

Kill jobs in the given list

submitJob(**kwargs)

Submit nJobs to the Condor batch system

DIRAC.Resources.Computing.BatchSystems.Condor.getCondorStatus(jobMetadata)

parse the condor_q or condor_history output for the job status

Parameters:

jobMetadata (dict[str, str | int]) – dict with job metadata

Returns:

Status as known by DIRAC, and a reason if the job is being held