Multi-cluster jobs with HyperQueue¶
HyperQueue is a task scheduler that runs
on top of existing batch systems. One hq server hands out tasks to workers, and the workers can
run as jobs on different clusters: MetaCentrum (PBS Pro), Phoebe and Koios (Slurm). That way one
set of tasks can use all three clusters.
Before you start¶
- A MetaCentrum account and an account on Phoebe and Koios.
- Passwordless SSH to MetaCentrum with Kerberos, so that
ssh metacentrumworks without typing a password. Do not store your MetaCentrum password in~/.bashrcor usesshpass.
TODO
This guide is not written yet. The original page stopped at its first step,
"Configure and run hq server on the MetaCentrum oven node". Planned sections:
- Start
hq serveron a MetaCentrum node that stays up (the "oven" node), and how the other clusters reach it. - Start HyperQueue workers as PBS jobs on MetaCentrum and as Slurm jobs on Phoebe and Koios.
- Submit tasks with
hq submitand follow them withhq job list. - Stop the workers and the server when done.