... | @@ -60,7 +60,7 @@ Submit a job: |
... | @@ -60,7 +60,7 @@ Submit a job: |
|
```
|
|
```
|
|
sbatch script.sh
|
|
sbatch script.sh
|
|
```
|
|
```
|
|
Cancel the *job_id* job (*job_id* is the number provided by Slurm to identify the job):
|
|
Cancel the `job_id` job (`job_id` is the number provided by Slurm to identify the job):
|
|
```
|
|
```
|
|
scancel job_id
|
|
scancel job_id
|
|
```
|
|
```
|
... | @@ -102,7 +102,7 @@ The `sinfo` command displays the current state of compute nodes: |
... | @@ -102,7 +102,7 @@ The `sinfo` command displays the current state of compute nodes: |
|
## Accounting
|
|
## Accounting
|
|
Slurm is connected to a database recording job acccounting data. The `sacct` and `sreport` commands allow to access this accounting information.
|
|
Slurm is connected to a database recording job acccounting data. The `sacct` and `sreport` commands allow to access this accounting information.
|
|
|
|
|
|
Show information on the *job_id* job:
|
|
Show information on the `job_id` job:
|
|
```
|
|
```
|
|
# Short format
|
|
# Short format
|
|
sacct -j job_id
|
|
sacct -j job_id
|
... | | ... | |