Installation

External dependencies

Required:

Note that older versions of GCC and Boost may also work. However as GCC v9.4 and Boost v1.78 are the minimum versions available for testing with the github continuous integration service, we are not able to verify this.

Optional:

We observed that compiling with the intel MKL library resulted in some improvement in runtime speed, but this may be platform dependent.

Running CMake

First clone the GitHub repository

git clone https://github.com/mkerin/LEMMA.git
cd LEMMA

Then compile

cmake -S . -B build -DCMAKE_BUILD_TYPE=RELEASE
cmake --build build -- -j4

Then test

ctest --test-dir build

View the commandline options supported by LEMMA

./build/lemma_1_0_4 -h

If you wish to compile with the Intel MKL Library then instead run the following:

cmake -S . -B build -DCMAKE_BUILD_TYPE=RELEASE \
    -DMKL_ROOT=<absolute/path/to/intel_mkl_root>
cmake --build build -- -j4

Note that current compile flags are compatible with the Intel MKL Library 2019 Update 1.