Skip to content

Commit

Permalink
Print also mpiexec and its path in versioninfo()
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Nov 16, 2024
1 parent 98f5198 commit 6369213
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MPI"
uuid = "da04e1cc-30fd-572f-bb4f-1f8673147195"
authors = []
version = "0.20.22"
version = "0.20.23"

[deps]
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand Down
5 changes: 5 additions & 0 deletions src/implementations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,9 @@ function versioninfo(io::IO=stdout)
for line in split(Get_library_version(), '\n')
println(io, " ", line)
end
println(io, " MPI launcher: ", mpiexec()[1])
mpiexec_path = Sys.which(mpiexec()[1])
if !isnothing(mpiexec_path)
println(io, " MPI launcher path: ", mpiexec_path)
end
end

0 comments on commit 6369213

Please sign in to comment.