Job Specification |
PBS/Torque |
Slurm |
SGE |
Script directive |
#PBS |
#SBATCH |
#$ |
Queue |
-q queue |
-p partition |
-q queue |
Node Count |
-l nodes=count |
-N min[-max] |
N/A |
CPU Count |
-l ppn=count OR -l mppwidth=PE_count |
-n count |
-pe PE count |
Wall Clock Limit |
-l walltime=hh:mm:ss |
-t min OR -t days-hh:mm:ss |
-l h_rt=seconds |
Standard Output FIle |
-o file_name |
-o file_name |
-o file_name |
Standard Error File |
-e file_name |
-e file_name |
-e file_name |
Combine stdout/err |
-j oe (both to stdout) OR -j eo (both to stderr) |
(use -o without -e) |
-j yes |
Copy Environment |
-V |
--export=[ALL | NONE | variables] |
-V |
Variables |
-v ... |
--export=variable[=value] |
-v ... |
Event Notification |
-m abe |
--mail-type=events |
-m abe |
Email Address |
-M address |
--mail-user=address |
-M address |
Job Name |
-N name |
--job-name=name |
-N name |
Job Restart |
-r [y|n] |
--requeue OR --no-requeue (NOTE: configurable default) |
-r [yes|no] |
Working Directory |
N/A |
--workdir=dir_name |
-wd directory |
Resource Sharing |
-l naccesspolicy=singlejob |
--exclusive OR--shared |
-l exclusive |
Memory Size |
-l mem=MB |
--mem=mem[M|G|T] OR --mem-per-cpu= mem[M|G|T] |
-l mem_free=memory[K|M|G] |
Account to charge |
-W group_list=account |
--account=account |
-A account |
Tasks Per Node |
-l mppnppn PEs_per_node |
--tasks-per-node=count |
(Fixed allocation_rule in PE) |
CPUs Per Task |
|
--cpus-per-task=count |
|
Job Dependency |
-d job_id |
--depend=state:job_id |
-hold_jid [job_id | job_name |
Job Project |
|
--wckey=name |
-P name |
Job host preference |
|
--nodelist=nodes AND/OR --exclude=nodes |
-q queue@node OR -q queue@@hostgroup |
Quality Of Service |
-l qos=name |
--qos=name |
|
Job Arrays |
-t array_spec |
--array=array_spec |
-t array_spec |
Feature Request |
-l feature |
--constraint=feature |
-l feature=value |
Generic Resources |
-l other=resource_spec |
--gres=resource_spec |
-l resource=value |
Licenses |
|
--licenses=license_spec |
-l license=count |
Begin Time |
-A "YYYY-MM-DD HH:MM:SS" |
--begin=YYYY-MM-DD[THH:MM[:SS]] |
-a [YYMMDDhhmm] |