diff --git a/slides/problem.md b/slides/problem.md index ece64e517fc3539d05ec291974e4c895bbff5d90..18da55ee832050774c1f7a5ae4af2fafad301316 100644 --- a/slides/problem.md +++ b/slides/problem.md @@ -855,6 +855,22 @@ Multithreading = false Defaults to `true`. +## Shared-memory parallelism + +Set multithreading backend to e.g. `OpenMP` in `dumux/cmake.opts` before building the modules: +```cmake +DUMUX_MULTITHREADING_BACKEND="-DDUMUX_MULTITHREADING_BACKEND=OpenMP" +``` +Other valid options are: `TBB`,Cpp,`Kokkos`,`Serial`. If left empty, it is automatically set by CMake. If no suitable backend is found, CMake defaults to `Serial`. + +## Shared-memory parallelism + +During `dunecontrol`, the chosen backend is displayed in the output via +```bash +-- Dumux multithreading backend: OpenMP +``` + + # Exercises ## Exercises