Repository navigation
Fix CMake configure failure when mpiexec --version is empty - #22
Merged
Merged
Conversation
MPIEXEC is never set by modern FindMPI (it defines MPIEXEC_EXECUTABLE), so
MPI_VERSION came back empty and the unquoted ${MPI_VERSION} MATCHES ...
collapsed into a malformed if(), erroring out the configure step. Also fixes
NOT DEFINED ${MPI_OVERSUBSCRIBE_FLAG}, which dereferenced the variable before
testing whether it was defined, and quiets stderr from mpiexec --version.
jurasic-pf
marked this pull request as draft
August 25, 2026 23:33
Collaborator
|
Looking at CMake release notes, MPIEXEC got deprecated in CMake 3.10. |
mbkumar
approved these changes
Aug 26, 2026
Removed pip installation options and related steps from CI configuration.
Removed conda-verify from the installation step.
mbkumar
marked this pull request as ready for review
August 26, 2026 03:38
Collaborator
|
Conda build needs to be fixed. Will be done in another PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CMake configure fails on my machine after updating to OpenMPI 5:
FindMPI defines
MPIEXEC_EXECUTABLEhttps://cmake.org/cmake/help/latest/module/FindMPI.html notMPIEXEC.so
MPI_VERSIONcomes back empty