Skip to content
Snippets Groups Projects
user avatar
authored

C++ Examples

A series of mini-apps to demonstrate specific features. Please refer to the respective sub-directories for more detailled descriptions of the individual examples.

All examples can be built by setting up the standard CMake build process, e.g.

# go to arbor's source directory
cd arbor
# set up a build dir
mkdir build
cd build
# configure (example options for an MPI-enabled SIMD build)
cmake .. -DARB_VECTORIZE=ON -DARB_WITH_MPI=ON -DCMAKE_CXX_COMPILER=`which g++`
# build
make examples
# try out the dryrun example
bin/dryrun