Skip to content

Installation

STEPSS comes in two editions, and this page installs either. STEPSS GUI is the desktop application: install it once, then work from windows and menus. STEPSS in Python is the stepss package: pip install it and drive the same engines from a script or a notebook. Both read the same data files, so a case built in one runs unchanged in the other, and installing one does not commit you to it.

The last two sections, the Fortran toolchain and CODEGEN Studio, are for writing your own models. Skip them unless you intend to.

Episode 1 of the video series, Installation and Setup, covers this page.

STEPSS GUI comes two ways: an installer, which needs nothing else on the machine, or the stepss.jar on its own, which needs a Java runtime you already have. Both are on every release. There is also a package manager on each of the two platforms that has one, delivering the same application so that later releases arrive on their own: an APT repository on Debian and Ubuntu, and a Scoop bucket on Windows.

The installers bundle a Java runtime, so nothing else needs installing and an existing Java on the machine is neither required nor disturbed.

Go to the latest release
  1. Download the one for your system from the release’s assets:
    • Windows: STEPSS-<version>.msi, though the Windows (Scoop) tab is the better route if you can use it: same application, later releases arrive on their own, and it needs no administrator rights.
    • macOS (Apple Silicon): STEPSS-<version>.dmg
    • Linux (Debian, Ubuntu): stepss_<version>_amd64.deb, though the Debian and Ubuntu (apt) tab is the better route if you can use it: same package, and later releases arrive on their own.
  2. Open it and follow the installer.
  3. Launch STEPSS from the Start menu, Applications, or your desktop’s application list.

On Linux, install the .deb with sudo apt install ./stepss_<version>_amd64.deb rather than dpkg -i, so that the libraries it needs are pulled in with it. It requires Ubuntu 24.04 or newer, or a Debian of the same vintage or later; on an older release, use the jar.

Uninstall the way you would any other application on your system: Add or Remove Programs on Windows, dragging it to the Trash on macOS, sudo apt remove stepss on Debian and Ubuntu.

STEPSS in Python is the stepss package on PyPI. It needs Python 3 and no Java at all:

Terminal window
pip install stepss

That one command brings the engines with it: the package carries pre-compiled RAMSES and Helios binaries for Windows, Linux and macOS, so there is nothing to install alongside it and nothing to point it at. Trajectory plotting is built in, on top of Matplotlib, in place of the DYNGRAPH viewer the GUI launches.

Two things it does not do for you, both covered by the Python API Installation Guide: on Linux and macOS the bundled binaries link against system runtime libraries (OpenBLAS, the gfortran and OpenMP runtimes) that your machine may not already have, and plotting observables while a run proceeds is your own loop over the curve file the engine writes, rather than something the package does for you. That page also covers version pinning, which is how you fix the engine version a script runs against.

Compiling a custom model produces a simulator built from the bundled URAMSES kit, which is a gfortran build. You therefore need gfortran, GNU make and OpenBLAS on your machine.

This applies to either edition: URAMSES links custom models into stepss and into STEPSS GUI alike. It is the compiling that needs a toolchain, and it is separate from writing the model in the first place, which is CODEGEN’s job and ships only with the GUI.

Install MSYS2, or, if you installed STEPSS with Scoop and would rather not run a second installer, scoop install msys2. Then, from an MSYS2 shell:

Terminal window
pacman -S mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-openblas make

STEPSS looks for the installation in C:\msys64, in Scoop’s applications directory, or wherever the MSYS2_ROOT environment variable points, so the MinGW bin directory does not have to be on the system PATH and there is nothing to configure by hand on either route. It searches every one of those that exists rather than stopping at the first, because scoop install msys2 leaves an MSYS2 already at C:\msys64 alone and only one of the two is likely to be the one you ran pacman in.

Note that the Scoop bucket suggests MSYS2 rather than depending on it, so scoop install stepss does not pull it in. That is deliberate: it is a large download, nothing else in STEPSS needs it, and .mod files are readable only by the gfortran release that wrote them, so installing whatever MSYS2’s rolling repository holds on a given day would not guarantee a matching toolchain anyway.

CODEGEN Studio is the browser-based visual editor for building models: drag blocks onto a canvas, connect them, and export a DSL file instead of writing one by hand. It is its own Python package, tied to neither edition, and needs Python 3.10 or newer:

Terminal window
pip install stepss-cg-studio
cg-studio

cg-studio starts a local server and opens the editor at http://localhost:8765. If the script is not on your PATH, python -m cg_studio does the same thing. Browser-based here means the interface is a web page, not that anything leaves your machine: the server is local and so is every file it reads.

See CODEGEN Studio for the command-line options, a source install, and how to drive the editor itself.