-
Install python3.10
-
Install poetry It is important to install
poetryin isolation, so follow the recommended installation method. -
Install poetry-shell-plugin
-
Install dependencies
poetry install -
Activate virtual environment
poetry shell -
Optional To install tab completion for
invokerun (replacingbashwith your shell)source <(poetry run inv --print-completion-script bash) -
Optional
pre-commitis included in development dependencies. To install hookspre-commit install
-
Create a deployment configuration file
.deployment.tomlfrom the sample file:cp .deployment.sample.toml .deployment.toml -
Create the config files that the worker services will use
inv create-configs -
Install dependencies, start the containers and then the services with
inv deploy -
Attach to some service's stdout/stderr with
inv attach --controlleror
inv attach --worker <WORKER-NAME> -
Restart a specific worker service with
inv start-worker --localworker1
- Examples
./run_algorithm -a pca -y leftamygdala lefthippocampus -d ppmi0 -m dementia:0.1./run_algorithm -a pearson_correlation -y leftamygdala lefthippocampus -d ppmi0 -m dementia:0.1 -p alpha 0.95
For a new Exareme3 federated algorithm, start with
documentation/new-algorithm-setup.md.
It contains the scaffold command, validation gate, required files, and a prompt
you can give Codex for end-to-end integration.
Fast path from the repository root:
poetry run python .agents/skills/exaflow-algorithm-scaffold/scripts/integrate_new_algorithm.py --repo-root . --algorithm <algorithm_id> --family <family>
After implementation edits:
poetry run python .agents/skills/exaflow-algorithm-scaffold/scripts/integrate_new_algorithm.py --repo-root . --algorithm <algorithm_id> --family <family> --skip-scaffold
This project/research received funding from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Framework Partnership Agreement No. 650003 (HBP FPA).