Friday, October 12, 2012

PBS (Portable Batch System) Commands on Torque

There are some PBS Commands that you can use for your customised PBS templates and scripts. Note: # Remarks: # A line beginning with # is a comments; # A line beginning with #PBS is a pbs command; # Case sensitive. Job Name (Default)
#PBS -N jobname
Specifies the number of nodes (nodes=N) and the number of processors per node (ppn=M) that the job should use
#PBS -l nodes=2:ppn=8
Specifies the maximum amount of physical memory used by any process in the job.
#PBS -l pmem=4gb
Specifies maximum walltime (real time, not CPU time)
#PBS -l walltime=24:00:00
Queue Name (If default is used, there is no need to specify)
#PBS -q fastqueue
Group account (for example, g12345) to be charged
#PBS -W group_list=g12345
Put both normal output and error output into the same output file.
#PBS -j oe
Send me an email when the job begins,end and abort
#PBS -m bea
#PBS -M mymail@mydomain.com
Export all my environment variables to the job
#PBS -V
Rerun this job if it fails
#PBS -r y

No comments: