Skip to content

Update meta_modules.py to detect MPI modules containing hashes #1582

Merged
climbfuji merged 4 commits intoJCSDA:developfrom
rjdave:feature/fix_mpi_detection
Mar 31, 2025
Merged

Update meta_modules.py to detect MPI modules containing hashes #1582
climbfuji merged 4 commits intoJCSDA:developfrom
rjdave:feature/fix_mpi_detection

Conversation

@rjdave
Copy link
Copy Markdown
Contributor

@rjdave rjdave commented Mar 25, 2025

Summary

On my Rocky 9 Linux systems, spack stack setup-meta-modules results in a Package with matching name is incompatible error when locating the MPI provider (described in detail in #1360).

Testing

This change resulted in successful execution of the spack stack setup-meta-modules command in both the development branch (pulled on 03-14-2025 after the commit adding +python for ESMF in configs/common/packages.yaml) and the 1.9.1 tagged release. In both instances, the operating system was Rocky Linux 9.5 and Intel OneAPI 2025.0.4 compilers. For the development branch, Open MPI 4.1.7 was compiled from source by spack, and for the 1.9.1 tagged release the Intel supplied OneAPI MPI 2021.14 was used. Open MPI 4.1.7 was chosen to allow TotalView debugging, as the 5.x releases of Open MPI have removed the MPIR process acquisition interface required by TotalView.

Applications affected

None that I'm aware of.

Systems affected

I would expect all systems to be affected (hopefully none negatively) since they all would use the spack stack setup-meta-modules command.

Dependencies

None

Issue(s) addressed

#1360

Checklist

  • This PR addresses one issue/problem/enhancement, or has a very good reason for not doing so.
  • These changes have been tested on the affected systems and applications.
  • All dependency PRs/issues have been resolved and this PR can be merged.

@rjdave rjdave changed the title Update meta_modules.py to detect MPI modules cotaining hashes Update meta_modules.py to detect MPI modules containing hashes Mar 25, 2025
@climbfuji climbfuji self-assigned this Mar 27, 2025
@climbfuji climbfuji linked an issue Mar 27, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@AlexanderRichert-NOAA AlexanderRichert-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry this slipped past me-- looks good

@climbfuji climbfuji enabled auto-merge (squash) March 31, 2025 13:04
@climbfuji climbfuji merged commit b7c217c into JCSDA:develop Mar 31, 2025
9 checks passed
@rjdave rjdave deleted the feature/fix_mpi_detection branch March 31, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incompatible Package Error when executing setup-meta-modules

3 participants