Installation

There are multiple ways to install DIALECT. Choose any one of the methods below that best suit your needs.

Pre-compiled binaries

An executable binary for linux x86 operating systems is available for download on the GitHub Releases page. Download the binary and add the directory of the executable to your PATH. For some calculations (like the computation of cube files), the environment variable DIALECT_SRC_DIR must be set to the path to the DIALECT source code. Thus, the DIALECT code from github is also neccessary.

Build from source using Rust

Once you have installed Rust, you need to download the source code of the latest release of DIALECT from the GitHub Releases page. After extracting the source code, change into the new directory

cd DIALECT-rs

and build the executable with the package manager Cargo

cargo build --release

The option --release enables all optimization during the build and ensures fast runtimes, but can result in very long compile times. If you want to compile often e.g. in the case of debugging, then it makes sense to just execute

cargo build

To be able to execute the DIALECT programm you should set DIALECT_SRC_DIR to the installation directory and you can add the binary path to your PATH environment variable.