Flux Workflow Examples¶
The examples contained here demonstrate and explain some simple use-cases with Flux, and make use of Flux’s command-line interface (CLI), Flux’s C library, and the Python and Lua bindings to the C library. The entire set of examples can be downloaded by cloning the Github repo.
The examples assume that you have installed:
A recent version of Flux
Launch a flux instance and schedule/launch compute and io-forwarding jobs on separate nodes using the CLI
Schedule/launch compute and io-forwarding jobs on separate nodes using the Python bindings
Asynchronously submit jobspec files from a directory and wait for them to complete in any order
Submit job bundles, print live job events, and exit when all jobs are complete