HPS-MC
 
Loading...
Searching...
No Matches
Auger Class Reference

Submit Auger batch jobs. More...

Inheritance diagram for Auger:
BatchSystem Batch Swif

Public Member Functions

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

Public Attributes

 setup_script
 
 email
 
 memory
 
 diskspace
 
 job_length
 
 config_files
 
 job_steps
 
 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
 

Protected Member Functions

 _create_job_xml (self)
 
 _jsub (self, xml_filename)
 
 _get_auger_ids (self, out)
 
 _write_req (self, req, filename='temp.xml')
 
 _create_req (self, req_name)
 
 _create_job (self, params)
 Needed for resolving ptag output sources.
 
 _add_job (self, req, job_params)
 
- Protected Member Functions inherited from Batch
 _logfile (self, job_id)
 Get the base name of a log file for the job.
 
 _get_filtered_job_ids (self)
 Get a list of job IDs to submit based on parsed command line options and whether output files are being checked.
 
 _job_ids_missing_output (self, job_ids)
 Get a list of IDs for jobs that are missing output files.
 

Additional Inherited Members

- Static Protected Member Functions inherited from BatchSystem
 _site ()
 
- Static Protected Member Functions inherited from Batch
 _outputs_exist (job)
 Check if all output files exist for the given job.
 

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__()

__init__ (   self)

Reimplemented from BatchSystem.

Reimplemented in Swif.

Definition at line 475 of file batch.py.

Member Function Documentation

◆ _add_job()

_add_job (   self,
  req,
  job_params 
)
protected

Definition at line 605 of file batch.py.

◆ _create_job()

_create_job (   self,
  params 
)
protected

Needed for resolving ptag output sources.

Definition at line 597 of file batch.py.

◆ _create_job_xml()

_create_job_xml (   self)
protected

Definition at line 502 of file batch.py.

◆ _create_req()

_create_req (   self,
  req_name 
)
protected

Definition at line 546 of file batch.py.

◆ _get_auger_ids()

_get_auger_ids (   self,
  out 
)
protected

Definition at line 524 of file batch.py.

◆ _jsub()

_jsub (   self,
  xml_filename 
)
protected

Definition at line 517 of file batch.py.

◆ _write_req()

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

Definition at line 540 of file batch.py.

◆ build_cmd()

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()

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()

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

◆ config_files

config_files

Definition at line 586 of file batch.py.

◆ diskspace

diskspace

Definition at line 571 of file batch.py.

◆ email

email

Definition at line 564 of file batch.py.

◆ job_length

job_length

Definition at line 574 of file batch.py.

◆ job_steps

job_steps

Definition at line 590 of file batch.py.

◆ memory

memory

Definition at line 568 of file batch.py.

◆ script

script

Definition at line 592 of file batch.py.

◆ setup_script

setup_script

Definition at line 479 of file batch.py.


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