Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 413
    • Issues 413
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !389

Feature rationalize mpi configs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark OLESEN requested to merge feature-rationalize-mpi-configs into develop Nov 09, 2020
  • Overview 3
  • Commits 2
  • Changes 57

The configuration files, user preferences and wmake rules for MPI had become rather confusing and cumbersome. This is especially noticeable when trying to add in minor differences for handling system-level openmpi2 vs openmpit4 etc. Using a single directory name 'openmpi-system' makes it difficult (impossible) to properly handle different major openmpi versions on the same system.

And additional problem was posed by the choice of preference names. An 'etc/config.sh/mpi' handles all MPI-related dispatch, whereas etc/config.sh/openmpi handles ThirdParty adjustments only. Thus make preferences clearly marked with a "prefs." prefix. Reorganized MPI make rules for more commonality.

Incompatibility name change for advanced user:

  • "openmpi-system" -> prefs.sys-openmpi
  • "openmpi" -> prefs.openmpi

Prefix system-related mpi with sys-, for sorting and consistency.

Edited Nov 09, 2020 by Mark OLESEN
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-rationalize-mpi-configs