Exercise 1: Starting Flux
- Run
flux resource listto determine if Flux is already running on your system. - If flux is running on the system, use
flux allocto get a two node allocation. If flux is not running on the system, use allocation commands appropriate to that system to get a two node allocation and start Flux withflux start. - Use
flux resource listto query the state of the resources in your allocation.
Notes / Solutions
- If Flux is not running
flux resource listwill error out with:flux-resource: ERROR: [Errno 2] Unable to connect to Flux: ENOENT: No such file or directory - See “Starting Flux” in Section 1.
- See “Showing the resources in your Flux allocation” in Section 1.
Introduction | Section 1 | Exercise 1 | Section 2
Back to index




