...
This document describes the use of PBS Pro 2022.1.1 version.
Job running
User applications (hereinafter jobs) that are started using the PBS system must be described by a start shell script (sh, bash, zsh...). Within the startup script above the normal commands, the PBS parameters are listed. These parameters can also be specified when submitting a job.
...
Code Block |
---|
qcat jobID qcat -e jobID qtail jobID qtail -e jobID |
Job submitting
There are s
everal several ways jobs can be submitted:
...
Tip | ||
---|---|---|
| ||
This method is preferred over multiple submissions (e.g. with a for loop) because:
The environment variables defined by PBS during their execution are:
|
Job Description
The PBS system language is used to describe jobs, while the job description file is a standard shell script. In the header of each script, PBS parameters are listed that describe the job in detail, followed by commands to execute the desired application.
Structure of the startup script:
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
#PBS -P test_example
#PBS -q cpu
#PBS -e /home/my_directiry
#PBS -l select=2:ncpus=10
module load gcc/12.1.0
gcc --version |
Example of a startup script:
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/bash
#PBS -<parametar1> <value>
#PBS -<parametar2> <value>
<command> |