Skip to content

Commit

Permalink
Fixed mpi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordi Manyer Fuertes (Monash University) committed Sep 24, 2024
1 parent 064eb8a commit 3705a71
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/Applications/mpi/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function run_tests(testdir)
@time @testset "$f" for f in testfiles
MPI.mpiexec() do cmd
np = 4
cmd = `$cmd -n $(np) --allow-run-as-root --oversubscribe $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
cmd = `$cmd -n $(np) $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
@show cmd
run(cmd)
@test true
Expand Down
2 changes: 1 addition & 1 deletion test/BlockSolvers/mpi/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function run_tests(testdir)
@time @testset "$f" for f in testfiles
MPI.mpiexec() do cmd
np = 4
cmd = `$cmd -n $(np) --allow-run-as-root --oversubscribe $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
cmd = `$cmd -n $(np) $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
@show cmd
run(cmd)
@test true
Expand Down
2 changes: 1 addition & 1 deletion test/LinearSolvers/mpi/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function run_tests(testdir)
@time @testset "$f" for f in testfiles
MPI.mpiexec() do cmd
np = 4
cmd = `$cmd -n $(np) --allow-run-as-root --oversubscribe $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
cmd = `$cmd -n $(np) $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
@show cmd
run(cmd)
@test true
Expand Down
2 changes: 1 addition & 1 deletion test/MultilevelTools/mpi/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function run_tests(testdir)
@time @testset "$f" for f in testfiles
MPI.mpiexec() do cmd
np = 4
cmd = `$cmd -n $(np) --allow-run-as-root --oversubscribe $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
cmd = `$cmd -n $(np) $(Base.julia_cmd()) --project=. $(joinpath(testdir, f))`
@show cmd
run(cmd)
@test true
Expand Down

0 comments on commit 3705a71

Please sign in to comment.