HPS-MC
Auger Class Reference

Submit Auger batch jobs. More...

Inheritance diagram for Auger:
BatchSystem Batch Swif

Public Member Functions

def __init__ (self)
 
def submit_job (self, job_id)
 Make this a no-op. More...
 
def submit (self)
 Batch submission method for Auger. More...
 
def build_cmd (self, job_id)
 This is the basic implementation of building a command to run the job from a batch system. More...
 
- Public Member Functions inherited from BatchSystem
def parse_args (self, args)
 Parse command line arguments and perform setup. More...
 
- Public Member Functions inherited from Batch
def default_rundir (self, job_id=None)
 

Public Attributes

 setup_script
 
- Public Attributes inherited from BatchSystem
 site
 
 email
 
 queue
 
 os
 
 memory
 
 diskspace
 
 job_length
 
- Public Attributes inherited from Batch
 parser
 
 script_name
 
 script
 
 jobstore
 
 debug
 
 log_dir
 
 run_dir
 
 check_output
 
 job_ids
 
 job_steps
 
 start_job_num
 
 end_job_num
 
 config_files
 

Private Member Functions

def _create_job_xml (self)
 
def _jsub (self, xml_filename)
 
def _get_auger_ids (self, out)
 
def _write_req (self, req, filename='temp.xml')
 
def _create_req (self, req_name)
 
def _create_job (self, params)
 Needed for resolving ptag output sources. More...
 
def _add_job (self, req, job_params)
 

Detailed Description

Submit Auger batch jobs.

Auger itself is actually deprecated and unavailable but its submission XML format is supported by the Swif class (see below).

Definition at line 467 of file batch.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Reimplemented from BatchSystem.

Reimplemented in Swif.

Definition at line 475 of file batch.py.

Member Function Documentation

◆ _add_job()

def _add_job (   self,
  req,
  job_params 
)
private

Definition at line 605 of file batch.py.

◆ _create_job()

def _create_job (   self,
  params 
)
private

Needed for resolving ptag output sources.

Definition at line 597 of file batch.py.

◆ _create_job_xml()

def _create_job_xml (   self)
private

Definition at line 502 of file batch.py.

◆ _create_req()

def _create_req (   self,
  req_name 
)
private

Definition at line 546 of file batch.py.

◆ _get_auger_ids()

def _get_auger_ids (   self,
  out 
)
private

Definition at line 524 of file batch.py.

◆ _jsub()

def _jsub (   self,
  xml_filename 
)
private

Definition at line 517 of file batch.py.

◆ _write_req()

def _write_req (   self,
  req,
  filename = 'temp.xml' 
)
private

Definition at line 540 of file batch.py.

◆ build_cmd()

def build_cmd (   self,
  job_id 
)

This is the basic implementation of building a command to run the job from a batch system.

Reimplemented from Batch.

Definition at line 584 of file batch.py.

◆ submit()

def submit (   self)

Batch submission method for Auger.

This differs from some of the other systems in that it doesn't loop over individual job IDs. Instead a single XML file is submitted for all the jobs at once.

Reimplemented from Batch.

Reimplemented in Swif.

Definition at line 491 of file batch.py.

◆ submit_job()

def submit_job (   self,
  job_id 
)

Make this a no-op.

Auger is a bit of a special case in terms of how batch submission works with a generated XML file including all job IDs, so we do not implement single job submission.

Reimplemented from Batch.

Definition at line 484 of file batch.py.

Member Data Documentation

◆ setup_script

setup_script

Definition at line 479 of file batch.py.


The documentation for this class was generated from the following file: