| Using TORQUE to Submit and Monitor Jobs |
PBS Shell CommandsWhen you submit and monitor jobs on compute clusters in the RCC, you are using TORQUE - a version of PBS. A popular open-source resource manager, TORQUE is used at thousands of research sites globally. With the commands available through TORQUE you can allocate resources, schedule and manage execution, monitor and view the status of your jobs. Some of TORQUE's commands are used at the shell command line, others are embedded in the shell script that runs your program. Here are the commonly used shell commands.
#PBS in your Job ScriptThe best way to control execution of your job is through the use of #PBS commands embedded in the job script. The job script is any shell script you normally run to execute your programs. The #PBS commands appear to be comments to the shell but when your script is submitted to the PBS job scheduler (via the qsub command), they can alter job attributes and select scheduler options.
Download a PBS Template ScriptDownload an example script that includes descriptive comments: Example PBS Job Script |
||||||||||||||||||||||||||||||||||||||||||||||||||||||