From c7068bf53ed7973b03bb0db89006075a89fccf4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Sat, 16 Nov 2024 17:03:04 -0500 Subject: [PATCH] Print also `mpiexec` and its path in `versioninfo()` --- Project.toml | 2 +- src/implementations.jl | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index ae958b5ac..04771e716 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/implementations.jl b/src/implementations.jl index 7a6df324a..ba1539a15 100644 --- a/src/implementations.jl +++ b/src/implementations.jl @@ -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