|
Directive
|
Description
|
|
#PBS -S /bin/csh
|
Set the login shell for the batch job, and assigns its
value to the variable $SHELL of the execution environment.
The set value is also assigned to the job
attribute Shell_Path_List
|
|
#PBS -l ncpus=1,mem=256mb
|
Request 1 cpu and 256mb for this job. PBS will compute the
number of nodes that satisfies this request then set the
environment variable NCPUS
to twice the number of nodes.
|
|
#PBS -l file=50gb
|
Request 50 Gbyte of storage space for this job.
|
|
#PBS -l walltime=hh:mm:ss
|
Request that this job run for at most hh hours,
mm minutes, and ss seconds.
|
|
#PBS -l nice=n
|
Set the job nice value to 20 + n and its
scheduling priority to 20 - n.
The range of legal values of n is
-20 <= n < 20, e.g.,
#PBS -l nice=-20 sets the
highest priority (40).
It is recommended that
the users do not use this option, or, if they use it,
they should specify n >= 5.
|
|
#PBS -v var_list
|
Instruct PBS to export the variables in var_list
from the job submission environment
to the batch job environment, e.g., #PBS -v DISPLAY.
|
|
#PBS -V
|
Export all environment variables
from the job submission environment to the batch
job environment.
|
|
#PBS -N Job_name
| Give a name to the job. Default name is the name of the
job script
|
|
#PBS -j oe
| Directs that the standard error stream and
the standard output stream of the job will be merged,
intermixed, as standard output.
|
|
#PBS -k oe
| Directs PBS to keep the stdout spooled stream
(-k o) or stderr ( -k e) or both
(-k oe) on the execution host, placing them
in the home directory of that user on the execution host
in the files job_name.o# and job_name.e#
|
|
#PBS -m abe
| Instruct PBS to send e-mail to the job owner
when the jobs begins (b) ends (e) or aborts (a).
To send email to someone other than the job
owner, use the -M option to qsub.
|
|
#PBS -m n
| Instruct PBS to never send e-mail to the job owner
|
#PBS -o path_name
#PBS -e path_name
|
Defines the path to be used for the
standard out and error streams of the job.
If path_name is a relative path,
PBS assumes the absolute path is
$PBS_O_WORKDIR/path_name.
The output and error paths are assigned to the
job attributes Output_Path and
Error_Path respectively.
|
|
#PBS -a date_time
|
Declares the time after which the job is
eligible for execution, where
date_time has the form:
[[[[CC]YY]MM]DD]hhmm[.SS]
Example: qsub -a 0008231036.27 gauss.pbs
makes the job eligible for execution at
10:36:27 on August 23, 2000
|
|
#PBS -c c=num_min
|
Specify the time interval for check pointing
the job, in minutes. For example, to checkpoint
the job every 30 minutes:
#PBS -c c=30
|
|
#PBS -W depend=rules
e.g.,
#PBS -W depend=after:jobID
|
Specify job dependencies.
The right hand side is a comma separated list of
dependency rules, where a rule has the syntax:
type[:argument[:argument]][,type...]
For example, to specify that this job
may be scheduled only after jobs 100 and 101 complete successfully:
#PBS -W depend=afterok:100:101
To specify that this job must start only after
job 100 completes:
#PBS -W depend=after:100
|