HPS-MC
LSF Class Reference

Submit LSF batch jobs. More...

Inheritance diagram for LSF:
BatchSystem Batch

Public Member Functions

def __init__ (self)
 
def parse_args (self, args)
 Parse command line arguments and perform setup. 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...
 
def submit_job (self, job_id)
 Submit a single batch job and return the batch ID. More...
 
- Public Member Functions inherited from Batch
def submit (self)
 This is the generic batch submission function which gets a list of jobs to run based on command line arguments and submits them individually. More...
 
def default_rundir (self, job_id=None)
 

Additional Inherited Members

- 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
 

Detailed Description

Submit LSF batch jobs.

Definition at line 281 of file batch.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Reimplemented from BatchSystem.

Definition at line 284 of file batch.py.

Member Function Documentation

◆ 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 291 of file batch.py.

◆ parse_args()

def parse_args (   self,
  args 
)

Parse command line arguments and perform setup.

Reimplemented from BatchSystem.

Definition at line 287 of file batch.py.

◆ submit_job()

def submit_job (   self,
  job_id 
)

Submit a single batch job and return the batch ID.

This is abstract as each batch system will do this differently.

Some batch systems don't implement this but sub-classes should override this and make it a no-op so that they can be instantiated.

Reimplemented from Batch.

Definition at line 318 of file batch.py.


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