Skip to content
README.md 612 B
Newer Older
Mark Meredith's avatar
Mark Meredith committed
# mfix-parser

Repo for parsing and validating MFIX input(s) files for use by mfix-app.

Uses PEGTL for parsing and Catch2 for tests.

This has the MFIX-Exa repo as a submodule in order to test against existing ``inputs`` files.


## Build

> python3 pip install cmake # if CMake not installed
> cmake -S. -Bbuild
> cmake --build build
> cd build
> ctest

## Run Tests

> cmake --build build --target unit_tests
> ./build/src/tests/unit_tests

## Run on inputs file

> cmake --build build --target mfix-parser
> ./build/mfix-parser subprojects/mfix/benchmarks/01-HCS/Size0001/inputs && echo "Parsing succeeded."