File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ if binary == "system"
86
86
impl, version = identify_implementation ()
87
87
if (impl == MPICH && version >= v " 3.1" ||
88
88
impl == IntelMPI && version > v " 2014" ||
89
- impl == MVAPICH && version >= v " 2" )
89
+ impl == MVAPICH && version >= v " 2" ||
90
+ impl == CrayMPICH && version >= v " 7" )
91
+ # https://www.mpich.org/abi/
90
92
abi = " MPICH"
91
93
elseif impl == OpenMPI || impl == IBMSpectrumMPI
92
94
abi = " OpenMPI"
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ An enum corresponding to known MPI implementations
48
48
- `IntelMPI`: [Intel MPI](https://software.intel.com/en-us/mpi-library)
49
49
- `SpectrimMPI`: [IBM Spectrum MPI](https://www.ibm.com/us-en/marketplace/spectrum-mpi)
50
50
- `MVAPICH`: [MVAPICH](http://mvapich.cse.ohio-state.edu/)
51
+ - `CrayMPICH`: Part of the Cray Message Passing Toolkit (MPT)
51
52
52
53
# See also
53
54
@@ -61,6 +62,7 @@ An enum corresponding to known MPI implementations
61
62
IntelMPI
62
63
IBMSpectrumMPI
63
64
MVAPICH
65
+ CrayMPICH
64
66
end
65
67
66
68
"""
@@ -117,6 +119,13 @@ function identify_implementation()
117
119
if (m = match (r" ^MVAPICH2? Version\s *:\t (\S *)\n " , MPI_LIBRARY_VERSION_STRING)) != = nothing
118
120
version = VersionNumber (m. captures[1 ])
119
121
end
122
+
123
+ elseif occursin (" CRAY MPICH" , MPI_LIBRARY_VERSION_STRING)
124
+ impl = CrayMPICH
125
+ # "MPI VERSION : CRAY MPICH version 7.7.10 (ANL base 3.2)\n"
126
+ if (m = match (r" CRAY MPICH version (\d +.\d +.\d +)" , MPI_LIBRARY_VERSION_STRING)) != = nothing
127
+ version = VersionNumber (m. captures[1 ])
128
+ end
120
129
end
121
130
122
131
return impl, version
You can’t perform that action at this time.
0 commit comments