Flux Workflow Examples

Job Submit CLI

Launch a flux instance and schedule/launch compute and io-forwarding jobs on separate nodes using the CLI

Job Submit API

Schedule/launch compute and io-forwarding jobs on separate nodes using the Python bindings

Python Job Submit/Wait

Submit jobs and wait for them to complete using the Flux Python bindings

Python Asynchronous Bulk Job Submission

Asynchronously submit jobspec files from a directory and wait for them to complete in any order

Using Flux Job Status and Control API

Submit job bundles and wait until all jobs complete

Job Cancellation

Cancel a running job

Use Events

Use events to synchronize compute and io-forwarding jobs running on separate nodes

Simple KVS Python Binding Example

Use KVS Python interfaces to store user data into KVS

Job Ensemble Submitted with a New Flux Instance

Submit job bundles, print live job events, and exit when all jobs are complete

Hierarchical Launching

Launch a large number of sleep 0 jobs

Use a Flux Comms Module

Use a Flux Comms Module to communicate with job elements

A Data Conduit Strategy

Attach to a job that receives OS time data from compute jobs