Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 102
    • Issues 102
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 89
    • Merge requests 89
  • 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
  • !3280

Check grid for multithreading support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Timo Koch requested to merge feature/check-grid-multithreading-capabilities into master Sep 05, 2022
  • Overview 3
  • Commits 3
  • Pipelines 8
  • Changes 7

Fixes #1186 (closed)

Introduces a helper that tells us whether the grid supports multithreaded iteration over the grid view. There is a capability in Dune to assert that property at compile time. But this hasn't been specialized yet for the current release (will come in Dune 2.9). We use the capability as fall-back but then provide specializations for the most common grid managers. They are all expected to be thread-safe already in 2.8 (which is refelected by the updated specialization of the traits in upcoming Dune 2.9). However, dune-uggrid still has a problem for MPI-parallel runs (https://gitlab.dune-project.org/core/dune-grid/-/merge_requests/597) which is why we disable multithreading in this case.

Edited Sep 08, 2022 by Timo Koch
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/check-grid-multithreading-capabilities