File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 72
72
73
73
MPI_VERSION = Get_version ()
74
74
75
+ @info " MPI version:\n $(MPI_VERSION) "
76
+
75
77
function Get_library_version ()
76
78
# There is no way to query at runtime what the length of the buffer should be.
77
79
# https://github.com/mpi-forum/mpi-issues/issues/159
@@ -88,7 +90,9 @@ function Get_library_version()
88
90
return String (buf)
89
91
end
90
92
91
- @info " MPI library version:\n $(Get_library_version ()) "
93
+ MPI_LIBRARY_VERSION = Get_library_version ()
94
+
95
+ @info " MPI library version:\n $(MPI_LIBRARY_VERSION) "
92
96
93
97
open (" deps.jl" ," w" ) do f
94
98
println (f, " # This file is automatically generated" )
@@ -97,6 +101,7 @@ open("deps.jl","w") do f
97
101
println (f, :(const libmpi = $ libmpi))
98
102
println (f, :(const libmpi_size = $ libsize))
99
103
println (f, :(const MPI_VERSION = $ MPI_VERSION))
104
+ println (f, :(const MPI_LIBRARY_VERSION = $ MPI_LIBRARY_VERSION))
100
105
println (f, :(const mpiexec_path = $ mpiexec_path))
101
106
102
107
if Sys. iswindows ()
You can’t perform that action at this time.
0 commit comments