Skip to content

Commit

Permalink
add slurm-<job-id>.out file reference in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gaardhus committed Nov 27, 2024
1 parent 587e02a commit bc7bc64
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/server/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,18 @@ Run the script with:
sbatch script.sh
```

Once the job is submitted, you can check the status of the job with:
Once the job is submitted you will receive a job-id, which you can use to check the status of the job with:

```bash
# Detailed job information
scontrol show job <job_id>
scontrol show job <job-id>
```

Also, the output of the job will be saved in a file with the name
`slurm-<job-id>.out` in the working directory specified.

```bash
tail -f slurm-<job-id>.out
```

Get the node information:
Expand Down

0 comments on commit bc7bc64

Please sign in to comment.