Predefined derived classes

The following analysis batch queue classes are derived from the Queue base class:

AtQueue class

The AtQueue class executes an analysis using the Linux at command. This class overrides the following base class methods:

__repr__(...)

This method returns a string describing the class.

submit(...)

This method executes the Linux at command to run the job-name.com analysis script at the time specified on the command line after option. If the after option is not specified on the command line, a QueueError exception is raised.

BatchQueue class

The BatchQueue class executes an analysis using the Linux batch command. This class overrides the following base class methods:

__repr__(...)

This method returns a string describing the class.

submit(...)

This method executes the job-name.com analysis script under the Linux batch command.

HoldQueue class

The HoldQueue class creates a job-name.com file and exits. This class overrides the following base class methods:

__repr__(...)

This method is reimplemented to provide a useful description.

submit(...)

This method prints a message stating that the job-name.com script was not submitted and returns a value of 0.

LSFQueue class

The LSFQueue class submits an analysis to the LSF queue named when the object was instantiated. If a name was not specified, the analysis is submitted to the default LSF queue. The following constructor argument is optional:

name

Name of a valid LSF queue.

This class overrides the following base class method:

submit(...)

This method invokes the LSF bsub command to submit the job-name.com analysis script to an LSF batch cluster and returns the exit status of the bsub command.

NQSQueue class

The NQSQueue class submits an analysis to the NQS queue named when the object was instantiated. If a name was not specified, the analysis is submitted to the default NQS queue. The following constructor argument is optional:

name

Name of a valid NQS queue.

This class overrides the following base class method:

submit(...)

This method invokes the NQS qsub command to submit the job-name.com analysis script to an NQS system and returns the exit status of the qsub command.

PBSQueue class

Queues instantiated from the PBSQueue class will create a job-name.pbs script and run the command qsub job-name.pbs. The job-name.inp and job-name.com files will be copied to the execution host, where the job-name.com script will be executed. After job completion, all output files will be copied back to the submission host. The following constructor argument is optional:

name

Name of a valid PBS queue.

This class overrides the following base class method:

submit(...)

This method invokes the PBS qsub command to submit the job-name.pbs script to a PBS system and returns the exit status of the qsub command.