Skip to content

Commit 2646a3a

Browse files
Merge pull request #82 from fredrikekre/patch-1
Update MPI compat and set version to 0.2.11.
2 parents 78f5796 + c2168c0 commit 2646a3a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PartitionedArrays"
22
uuid = "5a9dfac6-5c52-46f7-8278-5e2210713be9"
33
authors = ["Francesc Verdugo <[email protected]> and contributors"]
4-
version = "0.2.10"
4+
version = "0.2.11"
55

66
[deps]
77
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
@@ -15,7 +15,7 @@ SparseMatricesCSR = "a0a7dd2c-ebf4-11e9-1f05-cf50bc540ca1"
1515
[compat]
1616
Distances = "0.10"
1717
IterativeSolvers = "0.9"
18-
MPI = "0.16 - 1.0"
18+
MPI = "0.16, 0.17, 0.18, 0.19, 0.20"
1919
SparseMatricesCSR = "0.6"
2020
julia = "1.1"
2121

test/mpi/mpiexec.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function run_mpi_driver(;procs,file)
55
testdir = joinpath(mpidir,"..")
66
repodir = joinpath(testdir,"..")
77
mpiexec() do cmd
8-
if MPI.MPI_LIBRARY == MPI.OpenMPI
8+
if MPI.MPI_LIBRARY == "OpenMPI" || (isdefined(MPI, :OpenMPI) && MPI.MPI_LIBRARY == MPI.OpenMPI)
99
run(`$cmd -n $procs --oversubscribe $(Base.julia_cmd()) --project=$repodir $(joinpath(mpidir,file))`)
1010
else
1111
run(`$cmd -n $procs $(Base.julia_cmd()) --project=$repodir $(joinpath(mpidir,file))`)

0 commit comments

Comments
 (0)