Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mpi logic in CABLE SPD #77

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

SeanBryan51
Copy link
Contributor

Currently the CABLE spack build leaves the CABLE_MPI CMake variable unset when ~mpi is satisfied and relies on the default value for CABLE_MPI. This change removes the if condition around define_from_variant so that CABLE_MPI is specified to CMake regardless of how the mpi variant is set.

Fixes #76

Currently the CABLE spack build leaves the `CABLE_MPI` CMake variable
unset when `~mpi` is satisfied and relies on the default value for
`CABLE_MPI`. This change removes the if condition around
`define_from_variant` so that `CABLE_MPI` is specified to CMake
regardless of how the mpi variant is set.

Fixes #76
@SeanBryan51 SeanBryan51 linked an issue Mar 17, 2024 that may be closed by this pull request
@SeanBryan51 SeanBryan51 requested a review from harshula March 17, 2024 23:38
@SeanBryan51 SeanBryan51 merged commit abeeaad into main Mar 18, 2024
1 check passed
@SeanBryan51 SeanBryan51 deleted the 76-fix-mpi-logic-in-cable-spd branch March 19, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Fix mpi logic in CABLE SPD
2 participants