Using the Batch Processing System

As most other HPC systems, computational tasks are managed through a batch proecssing system on both LIred and SeaWulf. Using this model a batch script is created using any text editor and submitted to a job scheduer which distributes the necessary resources. Both LIred and SeaWulf utilize Torque for these tasks.

Audience: Faculty, Researchers and Staff

This KB Article References: High Performance Computing
This Information is Intended for: Faculty, Researchers, Staff
Last Updated: October 11, 2017

Submitting Batch Jobs

On all of our HPC systems access to compute nodes and computational resources are managed through a job scheduler. In order to utilize these resources you should first load the torque module:

module load torque/6.0.2

Loading this module will allow you to submit job scripts, open interactive shells to compute nodes, check the status of jobs, and remove jobs from a queue. 

In short a job script contains all of the information necessary to initialize your environment and run software. These jobs scripts can be submitted after loading the torque module, by using the qsub command:

qsub my_job_script

This will return a line containing the job number that the scheduler has assigned followed by the name of the host:


As listed above, see here for an example job script.

Checking Job Status

After submission you can check the status of your job in the queue using the qstat command. Issuing this command alone will return the status of every job currently managed by the scheduler, as a result we recommend narrowing the results by user name or job number of interest:

qstat <your_job_number>


qstat -u <your_user_name>

Or, for a full list of options available to the qsub command issue:

man qstat

Deleting Jobs and Removing Jobs from the Queue

As in the previously discussed commands, you should first insure that the torque module is loaded. Afterwards, jobs for which you are the owner can be removed from the queue or stopped using the qdel command along with the id assigned to the job:

qdel <your_job_number> 

Additional Information

There are no additional resources available for this article.

Getting Help

The Division of Information Technology provides support on all of our services. If you require assistance please submit a support ticket through the IT Service Management system.

Submit A Ticket

For More Information Contact

IACS Support System