Skip to content

Commit c7068bf

Browse files
committed
Print also mpiexec and its path in versioninfo()
1 parent 7c4b0bf commit c7068bf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MPI"
22
uuid = "da04e1cc-30fd-572f-bb4f-1f8673147195"
33
authors = []
4-
version = "0.20.22"
4+
version = "0.20.23"
55

66
[deps]
77
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"

src/implementations.jl

+5
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,9 @@ function versioninfo(io::IO=stdout)
119119
for line in split(Get_library_version(), '\n')
120120
println(io, " ", line)
121121
end
122+
println(io, " MPI launcher: ", mpiexec()[1])
123+
mpiexec_path = Sys.which(mpiexec()[1])
124+
if !isnothing(mpiexec_path)
125+
println(io, " MPI launcher path: ", mpiexec_path)
126+
end
122127
end

0 commit comments

Comments
 (0)