Skip to content

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.

  • 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.

  1. 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.git
    cd quachem-workbench

    On Windows, run this command and the later ones in Git Bash.

  2. Install the app and its Python packages:

    Terminal window
    uv sync --extra app

    If your shell cannot find uv, type python -m uv in its place, here and in every later command.

  3. Build the browser interface:

    Terminal window
    cd web
    npm ci
    npm run build
    cd ..

    npm ci installs the exact package versions that the project has checked, and npm run build checks their licences before it builds the interface.

  4. Build the engine image:

    Terminal window
    uv run qcw engine build

    The 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.

  5. Check which GPU the engine can use:

    Terminal window
    uv run qcw engine info

    The command prints the GPU that the engine can use, if there is one, and how the engine will run on it.

  1. Start it:

    Terminal window
    uv run qcw start

    The command prints the address of the workbench service, and your browser opens the Jobs page with you already signed in.

  2. Leave the terminal open. The workbench prints a line there each time a job is submitted, starts or finishes.

  3. If you close the browser tab, run uv run qcw open in a second terminal to open the workbench again.

  4. 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.

You can explore the interface before the engine image is built:

Terminal window
uv run qcw start --demo

A 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.

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.

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.