... | @@ -791,21 +791,21 @@ Options, sometimes called “directives”, can be set in the job script file us |
... | @@ -791,21 +791,21 @@ Options, sometimes called “directives”, can be set in the job script file us |
|
|
|
|
|
| Directive Description | Specified As #SBATCH |
|
|
| Directive Description | Specified As #SBATCH |
|
|
| --- | --- |
|
|
| --- | --- |
|
|
| Name the job < jobname > | #SBATCH -J < jobname > |
|
|
| Name the job < jobname > | -J < jobname > |
|
|
| Request at least < minnodes > nodes | #SBATCH -N < minnodes > |
|
|
| Request at least < minnodes > nodes | -N < minnodes > |
|
|
| Request < minnodes > to < maxnodes > nodes | #SBATCH -N < minnodes >-< maxnodes > |
|
|
| Request < minnodes > to < maxnodes > nodes | -N < minnodes >-< maxnodes > |
|
|
| Request at least < MB > amount of temporary disk space | #SBATCH --tmp < MB > |
|
|
| Request at least < MB > amount of temporary disk space | --tmp < MB > |
|
|
| Run the job for a time of < walltime > | #SBATCH -t < walltime > |
|
|
| Run the job for a time of < walltime > | -t < walltime > |
|
|
| Run the job at < time > | #SBATCH --begin < time > |
|
|
| Run the job at < time > | --begin < time > |
|
|
| Set the working directory to < directorypath > | #SBATCH -D < directorypath > |
|
|
| Set the working directory to < directorypath > | -D < directorypath > |
|
|
| Set error log name to < jobname.err > | #SBATCH -e < jobname.err > |
|
|
| Set error log name to < jobname.err > | -e < jobname.err > |
|
|
| Set output log name to < jobname.log > | #SBATCH -o < jobname.log > |
|
|
| Set output log name to < jobname.log > | -o < jobname.log > |
|
|
| Mail < user@address > | #SBATCH --mail-user < user@address > |
|
|
| Mail < user@address > | --mail-user < user@address > |
|
|
| Mail on any event | #SBATCH --mail-type=ALL |
|
|
| Mail on any event | --mail-type=ALL |
|
|
| Mail on job end | #SBATCH --mail-type=END |
|
|
| Mail on job end | --mail-type=END |
|
|
| Run job in partition | #SBATCH -p < destination > |
|
|
| Run job in partition | -p < destination > |
|
|
| Run job using GPU with ID < number > | #SBATCH --gres=gpu:< number > |
|
|
| Run job using GPU with ID < number > | --gres=gpu:< number > |
|
|
| Specify the real memory required per node. Suffix [K|M|G|T]. Better use "--mem-per-cpu" | #SBATCH --mem=<size[units]> |
|
|
| Specify the real memory required per node. Suffix [K|M|G|T]. Better use "--mem-per-cpu" | --mem=<size[units]> |
|
|
| Minimum memory required per allocated CPU. Suffix [K|M|G|T] | --mem-per-cpu=<size[units]> |
|
|
| Minimum memory required per allocated CPU. Suffix [K|M|G|T] | --mem-per-cpu=<size[units]> |
|
|
|
|
|
|
Node-Core reservation:
|
|
Node-Core reservation:
|
... | | ... | |