... | @@ -789,7 +789,7 @@ Options, sometimes called “directives”, can be set in the job script file us |
... | @@ -789,7 +789,7 @@ Options, sometimes called “directives”, can be set in the job script file us |
|
#SBATCH {option} {parameter}
|
|
#SBATCH {option} {parameter}
|
|
```
|
|
```
|
|
|
|
|
|
| Directive Description | Specified As |
|
|
| Directive Description | Specified As #SBATCH |
|
|
| --- | --- |
|
|
| --- | --- |
|
|
| Name the job < jobname > | #SBATCH -J < jobname > |
|
|
| Name the job < jobname > | #SBATCH -J < jobname > |
|
|
| Request at least < minnodes > nodes | #SBATCH -N < minnodes > |
|
|
| Request at least < minnodes > nodes | #SBATCH -N < minnodes > |
|
... | @@ -805,6 +805,8 @@ Options, sometimes called “directives”, can be set in the job script file us |
... | @@ -805,6 +805,8 @@ Options, sometimes called “directives”, can be set in the job script file us |
|
| Mail on job end | #SBATCH --mail-type=END |
|
|
| Mail on job end | #SBATCH --mail-type=END |
|
|
| Run job in partition | #SBATCH -p < destination > |
|
|
| Run job in partition | #SBATCH -p < destination > |
|
|
| Run job using GPU with ID < number > | #SBATCH --gres=gpu:< number > |
|
|
| Run job using GPU with ID < number > | #SBATCH --gres=gpu:< number > |
|
|
|
|
| Specify the real memory required per node. Suffix [K|M|G|T]. Better use "--mem-per-cpu" | #SBATCH --mem=<size[units]> |
|
|
|
|
| Minimum memory required per allocated CPU. Suffix [K|M|G|T] | --mem-per-cpu=<size[units]> |
|
|
|
|
|
|
Node-Core reservation:
|
|
Node-Core reservation:
|
|
|
|
|
... | | ... | |