Installation
csauto runs as a VS Code extension (recommended) or as a command-line tool with a browser dashboard. Both need Python 3.11+ on the machine and a runtime for your solver (see Prerequisites).
VS Code extension (recommended)
Install csauto from the VS Code Marketplace, or run:
Code
The extension embeds the dashboard directly in the editor, including over Remote-SSH sessions on HPC clusters, and manages its own Python environment: no manual csauto install is needed. With Remote-SSH or WSL, install the extension on the remote side. On Windows it runs directly for code_saturne, or through WSL (see Windows).
For a machine without Marketplace access, download the .vsix for your platform from the releases page and use Extensions: Install from VSIX: linux-x64 for most Linux machines and WSL, linux-arm64, darwin-arm64 for Apple silicon Macs, darwin-x64 for Intel Macs, win32-x64 for Windows. These carry csauto's Python dependencies and set up offline. The generic csauto-<version>.vsix downloads them from PyPI instead.
Then open a folder, click the csauto icon in the activity bar and create a campaign with New Campaign…. See the extension guide for the details.
Headless or HPC without VS Code (CLI and browser)
Core features have no external dependencies (pure standard library). The web dashboard needs a few extra packages, which the script installs.
Code
To update an existing installation, re-run the same command: it installs the latest release over the existing one. Neither git nor Node.js is needed.
Each release also ships a self-contained wheel (dashboard included) for scripted or CI installs:
Code
Verify the installation:
Code
Manual installation (contributors or custom locations)
Code
The csauto command is available inside the venv. To use it globally, add an alias:
Code
To install without a venv: ./install.sh --no-venv.
Prerequisites
You need at least one runtime for your solver:
| Runtime | Requirement |
|---|---|
native | The solver's executable (code_saturne, run_aster for code_aster, runcode.py for openTELEMAC) in PATH or set via solver_bin; on Windows, code_saturne installed by its Windows installer is found without either |
singularity | Apptainer/Singularity and a .sif image |
docker | Docker engine; the image defaults to the solver's own (simvia/code_saturne, simvia/code_aster:17.4.0, simvia/opentelemac:v9.1.0) |
Windows
csauto runs on Windows directly with code_saturne installed by its Windows installer (code_saturne-<version>-win64.msi), in its native runtime. code_aster, the Docker and Apptainer runtimes and Slurm run inside WSL instead: open the folder in a WSL window and follow the Linux instructions there.
For the native setup:
- Install code_saturne with its Windows installer. It goes to
%LOCALAPPDATA%\Programs\code_saturne\<version>by default and does not change PATH: csauto looks there, and in%ProgramFiles%\code_saturne\<version>, newest version first. Installed somewhere else, setsolver_binincsauto.tomlto itsbin\code_saturne.bat, between single quotes so TOML keeps the backslashes:solver_bin = 'D:\Apps\code_saturne\9.0.2\bin\code_saturne.bat'. - Install Python 3.11 or newer from python.org, or with
winget install -e --id Python.Python.3.13. The extension finds it through thepylauncher or the registry, even when VS Code was started before Python was installed. - Install the extension (the Marketplace serves the
win32-x64package) and open your folder. When VS Code asks whether you trust the folder, trust it: csauto does not run in Restricted Mode.
csauto doctor RUNS names the code_saturne it found. To use the command line instead, install the release wheel with py -m pip install "csauto-<version>-py3-none-any.whl[web]" and run py -m csauto (the install.sh script needs a Unix shell). See Limitations for what differs from Linux.
Next steps
Follow the Quickstart for a complete walkthrough from zero to a running campaign.