Skip to content

Commit

Permalink
Fix mpiexec deprecation in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStrouwen committed May 17, 2024
1 parent 5080dac commit 7ccafb0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/hypretests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,5 @@ test_interface(HYPREAlgorithm(HYPRE.PCG(comm)), Pl = HYPRE.BoomerAMG())

# Test MPI execution
mpitestfile = joinpath(@__DIR__, "hypretests_mpi.jl")
mpiexec() do mpi
r = run(ignorestatus(`$(mpi) -n 2 $(Base.julia_cmd()) $(mpitestfile)`))
@test r.exitcode == 0
end
r = run(ignorestatus(`$(mpiexec()) -n 2 $(Base.julia_cmd()) $(mpitestfile)`))
@test r.exitcode == 0

0 comments on commit 7ccafb0

Please sign in to comment.