Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 104
    • Issues 104
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-repositoriesdumux-repositories
  • dumuxdumux
  • Merge requests
  • !2909

Feature/multithreaded assembly using a coloring scheme

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Timo Koch requested to merge feature/colored-smp-assembly-kokkos into master Oct 27, 2021
  • Overview 59
  • Commits 46
  • Pipelines 72
  • Changes 196
  • Multithreading backends and a default backend selection mechanism

  • Backend can also manually selected by the user by setting DUMUX_MULTITHREADING_BACKEND via CMake

  • Type of selected backend is reported by CMake on configure

  • Backend can also be changed "interactively" through ccmake by editing the cache

  • Add a simple generic Dumux::parallelFor with one overload so far fully parallelizable loops over integer ranges

  • Implements coloring for CCTPfa and Box to enable parallel assembly over colored subsets

  • Enables parallel assembly per default if coloring is supported for disc method and a parallel backend is found

  • DUMUX_NUM_THREADS can control the number of threads when TBB or OpenMP or Kokkos is the backend

  • Support for backends TBB, OpenMP, Cpp (STL paralell algorithms), Kokkos, Serial (strictly serial execution)

  • Bugfix in LoggingParamerTree which was not thread-safe (although the const interfaces implied so)

  • Use Dumux::initialize in all tests which enables the DUMUX_NUM_THREADS control parameter

  • Update examples

  • Python bindings always use the Serial backend for now (the current implementation of the wrapper code is not thread-safe)

Edited Apr 23, 2022 by Timo Koch
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/colored-smp-assembly-kokkos