Skip to content

Generate flux framework configuration and install scripts for on-the-fly Flux!

License

Notifications You must be signed in to change notification settings

converged-computing/fluxgen

Repository files navigation

fluxgen

install and configure Flux Framework

PyPI - Version

This small library makes it easy to generate install scripts and configuration to get flux up and running! We will run this in the context of a JobSet, with the goal to generate the scripts necessary to install flux, etc.

🚧 Under Construction! 🚧

Usage

Fluxgen has two modes. If you use create you will create an install script that installs flux, creates configuration assets, and starts the brokers. if you use install it will just generate the install script.

Install

Here is how to generate an install script.

# Preview in terminal
fluxgen install --dry-run

# Write to file
fluxgen install
Writing install script to flux-install.sh

Create

Here is an example for using fluxgen to generate an install script for a worker.

fluxgen create --brokers flux-sample[0-10] command arg1 arg2

And the lead broker:

fluxgen create --lead-broker --brokers flux-sample[0-10] command arg1 arg2

Just preview:

fluxgen create --lead-broker --brokers flux-sample[0-10] --dry-run command arg1 arg2

License

HPCIC DevTools is distributed under the terms of the MIT license. All new contributions must be made under this license.

See LICENSE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614

About

Generate flux framework configuration and install scripts for on-the-fly Flux!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published