|
|
A quick presentation of the main slurm options:
|
|
|
|
|
|
```
|
|
|
|
|
|
| Option | Argument | Definition |
|
|
|
| :----------- | :------: | :------------ |
|
|
|
| --nodes, -N | <nodes> (integer) | Request that a set of <nodes> nodes be allocated to this job |
|
|
|
| --ntasks, -n | <ntasks> (integer) | Request that srun allocate resources for <ntasks> tasks |
|
|
|
```
|
|
|
|
|
|
Arguments can be used with srun, or inserted in a bash script.
|
|
|
In a bash script, you have to add the option using the #SBATCH keyword, for instance:
|
|
|
|
... | ... | |