... | ... | @@ -99,8 +99,11 @@ $ |
|
|
### SBATCH directive
|
|
|
As we can see in the [sequential.slurm](https://gitlab.oca.eu/DSI/HPC/blob/master/SLURM/sequential/sequential.slurm) script, all the option we previously passed on the command line can be set once and for all in the script using the `#SBATCH <option>` directive. That is
|
|
|
> sbatch --job-name rabit ./sequential.slurm
|
|
|
|
|
|
is the same as adding
|
|
|
|
|
|
>#SBATCH --job-name=rabit
|
|
|
|
|
|
at the top of the script[^1]
|
|
|
|
|
|
[^1]: if both are used, the command line option takes precedence. |