Common srun Options

 

Option Description Example
-n Specifies the number of processes to run. -n 4
-N Requests number of nodes to be allocated to job. -N 2
-t Specifies job’s wall time in minutes. -t 360
-J Specifies job’s name. -J jobname
-o Specifies output file for job’s stdout. -o jobname.o
-e Specifies output file for job’s stderr. -e jobname.e
-b Submits batch script. -b batch.script