diff --git a/README.md b/README.md index 0f1e18b26..e23af39c1 100644 --- a/README.md +++ b/README.md @@ -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 --wrap "srun hq worker start" + $ sbatch --wrap "srun --overlap hq worker start" ``` * Monitor the state of jobs diff --git a/docs/deployment/worker.md b/docs/deployment/worker.md index b1c886a65..0e1662f4d 100644 --- a/docs/deployment/worker.md +++ b/docs/deployment/worker.md @@ -52,7 +52,7 @@ Example submission script: # Run a worker on all allocated nodes ml OpenMPI - mpirun //hq worker start --manager pbs + pbsdsh //hq worker start --manager pbs ``` === "Slurm" @@ -66,7 +66,7 @@ Example submission script: # Run a worker on all allocated nodes ml OpenMPI - mpirun //hq worker start --manager slurm + srun --overlap //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