Skip to content

Commit e7b8728

Browse files
committed
Code listings
1 parent 07643c4 commit e7b8728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/running/hyperqueue.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ echo "Everything done!"
8080

8181
To submit this job, use `sbatch`:
8282
```bash
83-
$ sbatch job.sh
83+
sbatch job.sh
8484
```
8585

8686
[](){#ref-hyperqueue-example-script-advanced}
@@ -153,13 +153,13 @@ echo "Everything done!"
153153

154154
To submit a new job, use `sbatch`:
155155
```bash
156-
$ sbatch job.sh
156+
sbatch job.sh
157157
```
158158

159159
If the job fails for any reason, you can resubmit it and tell HyperQueue to pick up where it left off by passing the original Slurm job ID as an argument:
160160

161161
```bash
162-
$ sbatch job.sh <job-id>
162+
sbatch job.sh <job-id>
163163
```
164164

165165
The script will detect the argument, load the journal file from the previous run, and only execute the tasks that haven't been completed.

0 commit comments

Comments
 (0)