diff --git a/miniapps/benchmarks/stokes2D/solcx/SolCx.jl b/miniapps/benchmarks/stokes2D/solcx/SolCx.jl index 3a8754ed..92f95ea7 100644 --- a/miniapps/benchmarks/stokes2D/solcx/SolCx.jl +++ b/miniapps/benchmarks/stokes2D/solcx/SolCx.jl @@ -120,7 +120,7 @@ function solCx( η, G, K, - Inf, + 0.1, igg; iterMax = 500e3, nout = 5e3, diff --git a/miniapps/benchmarks/stokes2D/solkz/SolKz.jl b/miniapps/benchmarks/stokes2D/solkz/SolKz.jl index 541b4308..baba298c 100644 --- a/miniapps/benchmarks/stokes2D/solkz/SolKz.jl +++ b/miniapps/benchmarks/stokes2D/solkz/SolKz.jl @@ -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...) diff --git a/test/runtests.jl b/test/runtests.jl index 7a4d941a..c604cebe 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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 diff --git a/test/test_stokes_solcx.jl b/test/test_stokes_solcx.jl index 3f42d5d0..71f58139 100644 --- a/test/test_stokes_solcx.jl +++ b/test/test_stokes_solcx.jl @@ -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