OpenPBS User Manual for Batch Job Submission System

This manual explains how to write and submit PBS batch scripts, check job status, cancel jobs, query queues, and configure node attributes for MPI and…


OpenPBS User Manual for Batch Job Submission System - cover page
Brand
OpenPBS
Document type
User Manual
Language
English
Pages
10
File format
PDF
File size
26 KB
Published
24 October, 2026
Updated
24 October, 2026
MD5 checksum
F49BCC4E5BE9B301A895A3EA6EBCD88D

About this manual

The document serves as a user guide for the OpenPBS system, detailing how to construct PBS batch scripts for both parallel (MPI) and serial/OpenMP code. It provides specific examples of script parameters such as job names, resource reservations, email notifications, and output redirection. The manual also covers essential operational commands including qsub for submission, qstat for status checking, and qdel for cancellation.

What's inside

  • How to Write a PBS Batch Script
  • MPI Example Code
  • OpenMP Example Code
  • Serial Code Examples
  • How to Submit a PBS Batch Script
  • How to Check the Status of a PBS Batch Job
  • How to Cancel a PBS Batch Job
  • How to Query the PBS Queues
  • Node Attribute Descriptions
  • Maui Scheduler Introduction

Frequently asked questions

What command is used to submit a PBS batch script?

To submit an PBS script simply type: qsub scriptname where scriptname is the name of your PBS script.

How do I check the status of my job in the queue?

Type 'qstat' to see only your jobs, or use 'qstat -a' to see all jobs in the queue.

How do I cancel a PBS batch job?

First get the "Job ID" by typing qstat, then use 'qdel' followed by the Job ID.

How do I choose myrinet nodes when running an OpenPBS job?

Add '#PBS –l nodes=10:myrinet' to the line specifying resources to ensure jobs run on nodes with a myrinet card.

Download PDF (26 KB)