Skip to content

Commit 46cc7e0

Browse files
authored
fix MPICH version string capture (#526)
1 parent 6a81554 commit 46cc7e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/implementations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function identify_implementation()
9797
if startswith(MPI_LIBRARY_VERSION_STRING, "MPICH")
9898
impl = MPICH
9999
# "MPICH Version:\t%s\n" / "MPICH2 Version:\t%s\n"
100-
if (m = match(r"^MPICH2? Version:\t(\d+.\d+.\d+\w*)\n", MPI_LIBRARY_VERSION_STRING)) !== nothing
100+
if (m = match(r"^MPICH2? Version:\t(\d+.\d+(?:.\d+)?\w*)\n", MPI_LIBRARY_VERSION_STRING)) !== nothing
101101
version = VersionNumber(m.captures[1])
102102
end
103103

0 commit comments

Comments
 (0)