The build system CMake is used to compile all the examples.
The following code snippet shows how to compile the examples with the parallel algorithms and OpenMP
mkdir build
cd build
cmake ..
make
The following code snippet show how to compile the optional HPX examples
mkdir build
cd build
cmake -DWITH_HPX=ON ..
make
- Thread Building Blocks (TBB) for the parallel algorithms
- GNU compiler collection (gcc) >= 9 to support the parallel algorithms
- Optional: The C++ Standard Library for Paralism and Concurrency (HPX)
Note that we provide a Docker image with all the dependencies installed and Docker image with all examples compiled