Skip to content

Installation

ryujin requires deal.II version 9.6.0 or newer, compiled with support enabled for MPI and P4est.

On Debian 13 (trixie) or newer, run the following as root to install deal.II, all development libraries, and the necessary tools:

Terminal window
apt install libdeal.ii-dev cmake cmake-curses-gui numdiff make g++ ninja-build git

Generic instructions for downloading, installing, or manually compiling deal.II are on the deal.II homepage and the deal.II wiki. Make sure deal.II is configured with MPI and P4est support, and that git, numdiff, cmake and make are in your PATH.

With deal.II and the command line tools installed, check out the repository and run make:

  1. Clone the repository and fetch its submodules:

    Terminal window
    git clone https://github.com/conservation-laws/ryujin
    cd ryujin
    git submodule init
    git submodule update
  2. Compile a release build:

    Terminal window
    make release
  3. The executable is now at build/run/ryujin.

ryujin uses the CMake build system. The Makefile in the repository holds a handful of convenience targets and its use is entirely optional; when invoked it creates a build subdirectory, runs cmake to configure the project, and builds it.

Target Effect
make debug Switch to a debug build and compile
make release Switch to a release build and compile
make edit_cache Run ccmake in the build directory

See Usage for running the solver, and Compile-time options for tuning the build.