... | ... | @@ -694,20 +694,20 @@ Options, sometimes called “directives”, can be set in the job script file us |
|
|
|
|
|
| Directive Description | Specified As |
|
|
|
| --- | --- |
|
|
|
| Name the job <jobname> | #SBATCH -J <jobname> |
|
|
|
| Request at least <minnodes> nodes | #SBATCH -N <minnodes> |
|
|
|
| Request <minnodes> to <maxnodes> nodes | #SBATCH -N <minnodes>-<maxnodes> |
|
|
|
| Request at least <MB> amount of temporary disk space | #SBATCH --tmp <MB> |
|
|
|
| Run the job for a time of <walltime> | #SBATCH -t <walltime> |
|
|
|
| Run the job at <time> | #SBATCH --begin <time> |
|
|
|
| Set the working directory to <directorypath> | #SBATCH -D <directorypath> |
|
|
|
| Set error log name to <jobname.err>* | #SBATCH -e <jobname.err> |
|
|
|
| Set output log name to <jobname.log>* | #SBATCH -o <jobname.log> |
|
|
|
| Mail <user@address> | #SBATCH --mail-user <user@address> |
|
|
|
| Name the job < jobname > | #SBATCH -J < jobname > |
|
|
|
| Request at least < minnodes > nodes | #SBATCH -N < minnodes > |
|
|
|
| Request < minnodes > to < maxnodes > nodes | #SBATCH -N < minnodes >-< maxnodes > |
|
|
|
| Request at least < MB > amount of temporary disk space | #SBATCH --tmp < MB > |
|
|
|
| Run the job for a time of < walltime > | #SBATCH -t < walltime > |
|
|
|
| Run the job at < time > | #SBATCH --begin < time > |
|
|
|
| Set the working directory to < directorypath > | #SBATCH -D < directorypath > |
|
|
|
| Set error log name to < jobname.err > | #SBATCH -e < jobname.err > |
|
|
|
| Set output log name to < jobname.log > | #SBATCH -o < jobname.log > |
|
|
|
| Mail < user@address > | #SBATCH --mail-user < user@address > |
|
|
|
| Mail on any event | #SBATCH --mail-type=ALL |
|
|
|
| Mail on job end | #SBATCH --mail-type=END |
|
|
|
| Run job in partition | #SBATCH -p <destination> |
|
|
|
| Run job using GPU with ID <number> | #SBATCH --gres=gpu:<number> |
|
|
|
| Run job in partition | #SBATCH -p < destination > |
|
|
|
| Run job using GPU with ID < number > | #SBATCH --gres=gpu:< number > |
|
|
|
|
|
|
### Submitting jobs
|
|
|
|
... | ... | |