Stateful, queueing backend to connect an HPC system to a QPU.
Copy the example config and edit it for your environment:
cp configs/example_config.toml config.tomlAll commands are run via uv run backend.
uv run backend start
uv run backend start -c /path/to/config.tomlServer certificates must be set up before starting the server. Client certificates are issued to users who need to connect to the backend's gRPC API.
Set up CA and server certificates:
uv run backend cert setup-server
uv run backend cert setup-server --cert-dir ./certs --hostname localhostCreate a client certificate for a user:
uv run backend cert create-client <user_id>
uv run backend cert create-client <user_id> --cert-dir ./certsList existing client certificates:
uv run backend cert list-clientsCheck server certificate status:
uv run backend cert statusLog level is set via log_level in config.toml. It can also be overridden with the LCCFQ_LOG_LEVEL environment variable. Additional options:
| Variable | Description |
|---|---|
LCCFQ_LOG_LEVEL |
Global log level (DEBUG, INFO, WARNING, ERROR) |
LCCFQ_LOG_LEVELS |
Per-component overrides, e.g. lccfq.executor=DEBUG,lccfq.hwman=WARNING |
LCCFQ_LOG_FORMAT |
text (default) or json |
LCCFQ_LOG_FILE |
Path to log file (enables rotating file handler) |