Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Card
labelPBS Directives

The filenames, paths, and some values below are things you will probably want to change. In some cases, values/names have been used to demonstrate possibilities that you could employ (in a slightly different way).

Directive(s)

Description of purpose

#PBS -V

Export environment variables to the batch job

#PBS -c n

No checkpointing to be performed

#PBS -c s

Checkpoints is to be done on a job at pbs_mom shutdown

#PBS -c enabled

Checkpointing is allowed but must be explicitly invoked by a qhold or qchkpt command

#PBS -d /fast/jc123456

Defines the working directory path to be used for the job

#PBS -j oe
#PBS -o /tmp/output.$PBS_O_JOBID

Merge standard output and standard error streams into the named file

#PBS -m ae
#PBS -M john.doe@jcu.edu.au
#PBS -M joe.blogg@my.jcu.edu.au

Send mail at batch job abort/exit to the Email address provided

#PBS -N job_name

Assign a name to the batch job

#PBS -l pmem=4gb

Request that 4GB of memory be reserved for the batch job

#PBS -l nodes=1:ppn=2

Request that 2 CPU cores be reserved for the batch job

...