Run using vcpkg
The project offers a vcpkg.json file to fetch and build all dependencies which minimizes efforts in their installation. Unfortunately, python dependencies need to be installed manually.
Prerequisites:
gcc (or any C++17-compliant compiler)
CMake
>=3.9for buildinggit for cloning the repository
Python3
>=3.9interpreter for plots. See uv or pyenv for managing Python versions.
Clone this repository and vcpkg repository within
git clone https://github.com/mpimd-csc/phgasnets.git
cd phgasnets
git clone --depth 1 https://github.com/microsoft/vcpkg.git .vcpkg
Build
phgasnetsusingvcpkgto handle dependencies,
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=./.vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build
Install Python dependencies for plotting scripts
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
Run the demos
./RUNME.sh
This should produce all the results in the results folder.