Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W waLBerla
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waLBerla
  • waLBerla
  • Merge requests
  • !313

OpenMP support is now switchable within the generation script

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Sebastian Eibl requested to merge mesapd_openmp into master Jul 10, 2020
  • Overview 1
  • Commits 1
  • Pipelines 4
  • Changes 15

Since MSVC only has beta support for OpenMP 2.0 firstprivate cannot be used for these compilers. However, firstprivate is necessary for a reasonably safe implementation of OpenMP in MESA-PD. The solution is to move OpenMP support to the generator and disable OpenMP for the checked in version. The waLBerla OpenMP guards are removed as they are no longer needed. It is now assumed that if MESA-PD is generated with OpenMP support it is about to be used. If OpenMP is disabled with CMake warnings will pop up about undefined pragmas.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: mesapd_openmp