Skip to content

Commit d0beb6d

Browse files
committed
fix mpiexec
1 parent e2cd300 commit d0beb6d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/MPIPreferences/src/MPIPreferences.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ else
1919
end
2020

2121
module System
22+
export libmpi, mpiexec
2223
using Preferences
2324
const libmpi = @load_preference("libmpi")
2425
const mpiexec_path = @load_preference("mpiexec")

src/environment.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ hello world
2121
hello world
2222
```
2323
"""
24-
function mpiexec(fn)
25-
_mpiexec(cmd -> fn(`$cmd $(Base.shell_split(get(ENV, "JULIA_MPIEXEC_ARGS", "")))`))
26-
end
27-
24+
mpiexec
2825

2926
# Administrative functions
3027
function _warn_if_wrong_mpi()

0 commit comments

Comments
 (0)