Installation

From conda-forge

The recommended way to install evalhyd-cli is to use a conda-like package manager and the conda-forge channel:

Install using mamba and the conda-forge channel
$ mamba install -c conda-forge evalhyd-cli

From source

To build evalhyd-cli from source, cmake can be used.

Tip

It is recommended that the dependencies are installed using mamba:

Install the dependencies in a new environment
$ mamba create -n evalhyd-env -f environment.yml
Activate the environment
$ mamba activate evalhyd-env

Then, the steps below can be followed:

Configure the CMake project
$ cmake -B build/ -D CMAKE_BUILD_TYPE=Release -D CMAKE_PREFIX_PATH="${CONDA_PREFIX}"
Build the CMake project
$ cmake --build build/ --parallel
Test the library
$ export PATH="${PWD}/build/apps/:${PATH}"
$ (cd ./tests && python run_all_tests.py)
Install the library
$ cmake --install build/ --prefix <path>