Package madgraph :: Package various :: Module cluster :: Class CondorCluster
[hide private]
[frames] | no frames]

Class CondorCluster

source code

object --+    
         |    
   Cluster --+
             |
            CondorCluster

Basic class for dealing with cluster submission

Instance Methods [hide private]
 
submit(*args, **opt)
Submit a job prog to a Condor cluster
source code
 
submit2(self, prog, argument=[], cwd=None, stdout=None, stderr=None, log=None, input_files=[], output_files=[], required_output=[], nb_submit=0)
Submit the job on the cluster NO SHARE DISK input/output file should be give relative to cwd
source code
 
control_one_job(*args, **opt)
control the status of a single job with it's cluster id
source code
 
control(self, *args, **opt)
control the status of a single job with it's cluster id
source code
 
remove(*args, **opt)
Clean the jobson the cluster
source code

Inherited from Cluster: __init__, check_termination, cluster_submit, get_jobs_identifier, launch_and_wait, metasubmit, modify_interface, wait

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  name = 'condor'
  job_id = 'CONDOR_ID'
  jobstatus = {'0': 'U', '1': 'I', '2': 'R', '3': 'X', '4': 'C',...

Inherited from Cluster: identifier_length

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

submit(*args, **opt)

source code 

Submit a job prog to a Condor cluster

Decorators:
  • @multiple_try()
Overrides: Cluster.submit

submit2(self, prog, argument=[], cwd=None, stdout=None, stderr=None, log=None, input_files=[], output_files=[], required_output=[], nb_submit=0)

source code 

Submit the job on the cluster NO SHARE DISK input/output file should be give relative to cwd

Decorators:
  • @store_input()
  • @multiple_try()
Overrides: Cluster.submit2

control_one_job(*args, **opt)

source code 

control the status of a single job with it's cluster id

Decorators:
  • @multiple_try(nb_try= 10, sleep= 10)
Overrides: Cluster.control_one_job

control(self, *args, **opt)

source code 

control the status of a single job with it's cluster id

Decorators:
  • @check_interupt()
  • @multiple_try(nb_try= 10, sleep= 10)
Overrides: Cluster.control

remove(*args, **opt)

source code 

Clean the jobson the cluster

Decorators:
  • @multiple_try()
Overrides: Cluster.remove

Class Variable Details [hide private]

jobstatus

Value:
{'0': 'U', '1': 'I', '2': 'R', '3': 'X', '4': 'C', '5': 'H', '6': 'E'}