Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation of starting workers on Slurm/PBS #642

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ with the HyperQueue developers, you can use our [Zulip](https://hyperqueue.zulip
- Start worker on all nodes of a Slurm job

```bash
$ sbatch <your-params-of-sbatch> --wrap "srun hq worker start"
$ sbatch <your-params-of-sbatch> --wrap "srun --overlap hq worker start"
```

* Monitor the state of jobs
Expand Down
4 changes: 2 additions & 2 deletions docs/deployment/worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Example submission script:

# Run a worker on all allocated nodes
ml OpenMPI
mpirun /<path-to-hyperqueue>/hq worker start --manager pbs
pbsdsh /<path-to-hyperqueue>/hq worker start --manager pbs
```

=== "Slurm"
Expand All @@ -66,7 +66,7 @@ Example submission script:

# Run a worker on all allocated nodes
ml OpenMPI
mpirun /<path-to-hyperqueue>/hq worker start --manager slurm
srun --overlap /<path-to-hyperqueue>/hq worker start --manager slurm
```

The worker will try to automatically detect that it is started under a PBS/Slurm job, but you can also explicitly pass
Expand Down
Loading