Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Latest commit

 

History

History
37 lines (26 loc) · 694 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 694 Bytes

Flux testing environment for PSI/J

Build docker container

./docker/build.sh

Start execution

docker run --rm -it exaworks/flux-psij bash

flux start
python3.7 /home/fluxuser/workdir/hello-flux-container.py

Start execution using docker compose (multi-broker)

cd docker

docker compose up -d
# stop containers (flux-psij and flux-sched)
#   docker compose stop
# remove containers
#   docker compose rm -f

docker exec -it flux-psij bash

# start with 2 brokers (services in docker-compose)
flux start -o,-Sbroker.quorum-timeout=2s
# check list of resources
#   flux resource list
python3.7 /home/fluxuser/workdir/hello-flux-container.py