Find here below a comprehensive list of the most useful directives employed in job scripting.
Full Option | Abbreviation | Description |
---|---|---|
--job-name=name |
-J name |
Custom job name |
--partition=name |
-p partition |
Set the queue to run on |
--nodes=# |
-N # |
Total number of nodes |
--ntasks=# |
-n # |
Total number of tasks (cores) |
--cpus-per-task=# |
-c # |
Number of CPU allocated to each task (shared memory usage) |
--ntasks-per-node=# |
|
Number of tasks per node |
--time=[[DD-]HH:]MM:SS |
-t [[DD-]HH:]MM:SS |
Maximum walltime of the job |
--mem-per-cpu=# |
|
Memory requested per CPU in MB |
--mem=# |
|
Memory requested per node in MB |
--mail-user=email |
|
Mail address |
--mail-type=ALL |
|
Send emails to user on all job events |