Newer
Older
Here is a list of common pbs options. You can either use these options directly
with ``qsub`` or add them as meta-parameters in a job file. In the later case
those options need the prefix ``#PBS`` and must be stated in the first section
of the file before the actual commands. The complete list can be found in ``man
pbs_resources``.
Sets the name of the job. This is mostly useful when submitting lot's of
similar jobs in a loop.
Sets the expected maximum running time for the job. When a job **exceeds**
those limits it will **be terminated**.
Sets another resource requirement: memory. Exceeding this value in a job is
even more crucial than running time as you might interfere with other jobs
on the node. Therefor it needs to be **terminated as well**.
Sets the working directory of the job. Every time a job gets started it
will spawn a shell on some node. To initially jump to some directory use
this option. *Otherwise* the first command of your job should always be ``cd
project/data``.
Specify the location where Torque will save the jobs' log file. The
*stdout* and *stderr* streams will be saved into a file called
``<jobname>.o<jobid>`` and ``<jobname>.e<jobid>`` in the current location
per default. If the parameter to ``-o`` is a file then it will store the
log in that file. If it's a directory it will put the logs into that
directory with the default naming scheme.
To discard all standard output log use the special file ``/dev/null``.
This option will tell torque to merge stderr into stdout and only store
a single file.
Send an e-mail to a single user or a list of users in case there is
a configured event.
This paramter defines e-mail events. You can use a combination of **a,b,e**
or the single value **n**:
+ **a** defines external job termination as an e-mail event
+ **b** defines the beginning of a job run as event
+ **e** send an e-mail when the job has finished
This will add a dependency to the current job. It will only be started or
tagged as startable when another job with id *Job-Id* finished
successfully.
Set the job in a holding state. This will prevent it from being started.
Release the hold with ``qrls <jobid>``.