Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
albert-de-montserrat committed Dec 1, 2023
1 parent 60478ab commit fadc2f5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion miniapps/benchmarks/stokes2D/solcx/SolCx.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function solCx(
η,
G,
K,
Inf,
0.1,
igg;
iterMax = 500e3,
nout = 5e3,
Expand Down
2 changes: 1 addition & 1 deletion miniapps/benchmarks/stokes2D/solkz/SolKz.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function solKz(;
ρ = solKz_density(xci, ni, di)
fy = ρ * g
ρg = @zeros(ni...), fy
dt = Inf
dt = 0.1
G = @fill(Inf, ni...)
Kb = @fill(Inf, ni...)

Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function runtests()
println("")
println("Running tests from $f")
try
run(`$exename -O3 --startup-file=no --check-bounds=no $(joinpath(testdir, f))`)
run(`$exename --startup-file=no $(joinpath(testdir, f))`)
catch ex
nfail += 1
end
Expand Down
4 changes: 2 additions & 2 deletions test/test_stokes_solcx.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function check_convergence_case1()
nx = 64
ny = 64
Δη = 1e6
init_mpi = JustRelax.MPI.Initialized() ? false : true
_, _, iters, = solCx(Δη; nx=nx, ny=ny, init_MPI=init_mpi, finalize_MPI=false)
init_MPI = JustRelax.MPI.Initialized() ? false : true
_, _, iters, = solCx(Δη; nx=nx, ny=ny, init_MPI=init_MPI, finalize_MPI=false)

tol = 1e-8
passed = iters.err_evo1[end] < tol
Expand Down

0 comments on commit fadc2f5

Please sign in to comment.