Getting started from source
Version 0.1.0 is an early preview, and you install it from its source code. An installer is planned.
The project has verified these steps on Windows 11 with Git Bash, Docker Desktop (WSL2 backend) and an NVIDIA GPU. On Linux and macOS the commands are the same. There, continuous integration installs the app and runs its unit tests on Ubuntu 24.04 and macOS 15, and builds the browser interface on Ubuntu 24.04, but nobody has yet followed these steps by hand. The engine image uses NVIDIA’s CUDA libraries, and the project has built and run it only on 64-bit Intel and AMD machines with Linux, under WSL2 and on a rented cloud machine. It has not been tried on macOS.
What you need
Section titled “What you need”- Git, to download the source.
- Python 3.12 or later, and uv, which installs the workbench’s Python packages.
- Node.js 24 or later, which builds the browser interface.
- Docker, which runs the calculation engine. On Windows this is Docker Desktop with the WSL2 backend.
- An NVIDIA GPU is optional. Without one, jobs run on the CPU.
You do not need a C compiler, because the engine and its compiled libraries are built inside a container.
Install
Section titled “Install”-
Download version 0.1.0 of the source and open its folder:
Terminal window git clone --branch v0.1.0 https://github.com/quachem/quachem-workbench.gitcd quachem-workbenchOn Windows, run this command and the later ones in Git Bash.
-
Install the app and its Python packages:
Terminal window uv sync --extra appIf your shell cannot find
uv, typepython -m uvin its place, here and in every later command. -
Build the browser interface:
Terminal window cd webnpm cinpm run buildcd ..npm ciinstalls the exact package versions that the project has checked, andnpm run buildchecks their licences before it builds the interface. -
Build the engine image:
Terminal window uv run qcw engine buildThe command builds the image
qcw-engine:0.1.0. The first build compiles the engine’s libraries and takes about half an hour. Later builds reuse the cached steps. -
Check which GPU the engine can use:
Terminal window uv run qcw engine infoThe command prints the GPU that the engine can use, if there is one, and how the engine will run on it.
Open the workbench
Section titled “Open the workbench”-
Start it:
Terminal window uv run qcw startThe command prints the address of the workbench service, and your browser opens the Jobs page with you already signed in.
-
Leave the terminal open. The workbench prints a line there each time a job is submitted, starts or finishes.
-
If you close the browser tab, run
uv run qcw openin a second terminal to open the workbench again. -
To stop the workbench, press Ctrl+C in the first terminal. If jobs are running, the workbench tells you what will happen to them, and you press Ctrl+C again within 5 seconds to stop it.
Try it without the engine
Section titled “Try it without the engine”You can explore the interface before the engine image is built:
uv run qcw start --demoA target is a place where jobs run, and the demo adds one named stub that runs no calculation. Jobs sent to it finish in a few seconds with placeholder values, and each of their results carries the banner “Stand-in data: no calculation was run”. Use the demo to learn the screens, and never report its numbers, because they are placeholders.
Keep your data apart while you try things
Section titled “Keep your data apart while you try things”The workbench saves its settings and job index in a data folder. To try it without touching your normal data, set the QCW_HOME environment variable to another folder before you start it, for example export QCW_HOME=~/qcw-tryout in Git Bash.
If something goes wrong
Section titled “If something goes wrong”Please open a bug report with the steps you followed, your operating system and your GPU.
Next: your first calculation.
An open-source project on GitHub. Built by Graham Morley.