-
Notifications
You must be signed in to change notification settings - Fork 885
feat: support for Flux Framework as HPC manager #3064
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # This example deploys the LAMMPS Molecular Dynamic Simulator | ||
| # with MPI orchestrated by the Flux workload manager on 4 nodes. | ||
| # The problem size is defined by the coordinates x,y,z, and the | ||
| # parameter file reaxc.hns. | ||
| # The image has the application, LAMMPS, installed (no Flux) | ||
| # A Flux view will be added on the fly by the Kubeflow trainer | ||
| # The 4 pods ideally map 1:1 to nodes, encompassing a cluster | ||
| # The underlying abstraction is a JobSet with a headless service | ||
| # Flux supports low-latency with Infiniband, EFA, etc., however | ||
| # standard ethernet is used here. | ||
| apiVersion: trainer.kubeflow.org/v1alpha1 | ||
| kind: TrainJob | ||
| metadata: | ||
| name: lammps-flux-interactive | ||
| spec: | ||
| # Reference the pre-defined runtime by name | ||
| runtimeRef: | ||
| name: flux-runtime | ||
| trainer: | ||
| numNodes: 4 | ||
| image: ghcr.io/converged-computing/metric-lammps:latest | ||
| # You do not need to write "flux run, etc" here. It will be wrapped | ||
| command: ["lmp", "-v", "x", "2", "-v", "y", "2", "-v", "z", "2", "-in", "in.reaxc.hns", "-nocite"] | ||
| # Comment out the command above to make an interactive cluster! Then shell into the 0-0 pod: | ||
| # # Source environment | ||
| # . /mnt/flux/flux-view.sh | ||
| # # Connect to the running lead broker socket | ||
| # flux proxy $fluxsocket bash | ||
| # # See Flux resources! | ||
| # flux resource list | ||
| # Run lammps! | ||
| # flux run -N 4 -n 4 lmp -v x 2 -v y 2 -v z 2 -in in.reaxc.hns -nocite | ||
Uh oh!
There was an error while loading. Please reload this page.