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

Class SLURMCluster

source code

object --+    
         |    
   Cluster --+
             |
            SLURMCluster

Basic class for dealing with cluster submission

Instance Methods [hide private]
 
submit(*args, **opt)
Submit a job prog to a SLURM cluster
source code
 
control_one_job(*args, **opt)
control the status of a single job with it's cluster id
source code
 
control(*args, **opt)
control the status of a single job with it's cluster id
source code
 
remove(*args, **opt)
Clean the jobs on the cluster
source code

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

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

Class Variables [hide private]
  name = 'slurm'
  job_id = 'SLURM_JOBID'
  idle_tag = ['Q', 'PD', 'S', 'CF']
  running_tag = ['R', 'CG']
  complete_tag = ['C']
  identifier_length = 8
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

submit(*args, **opt)

source code 

Submit a job prog to a SLURM cluster

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

control_one_job(*args, **opt)

source code 

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

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

control(*args, **opt)

source code 

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

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

remove(*args, **opt)

source code 

Clean the jobs on the cluster

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