Install libp4est-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libp4est-dev
Algorithms for Parallel Adaptive Mesh Refinement - development files
The p4est software library enables the dynamic management of a collection of adaptive octrees, conveniently called a forest of octrees. p4est is designed to work in parallel and scale to hundreds of thousands of processor cores. . This package contains the development files.