Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions examples/tree_1d_dgsem/elixir_advection_uncertainty.jl

This file was deleted.

2 changes: 0 additions & 2 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ ECOS = "e2685f51-7e38-5353-a97d-a921fd2c8199"
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7"
MPI = "da04e1cc-30fd-572f-bb4f-1f8673147195"
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
OrdinaryDiffEqFeagin = "101fe9f7-ebb6-4678-b671-3a81e7194747"
Expand Down Expand Up @@ -44,7 +43,6 @@ ECOS = "1.1.2"
ExplicitImports = "1.0.1"
ForwardDiff = "0.10.36, 1"
LinearAlgebra = "1"
Measurements = "2.14.0"
MPI = "0.20.6"
NLsolve = "4.5.1"
OrdinaryDiffEqFeagin = "1"
Expand Down
17 changes: 0 additions & 17 deletions test/test_tree_1d_advection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -169,23 +169,6 @@ end
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 1000
end
end

@trixi_testset "elixir_advection_uncertainty.jl" begin
# Run this first to collect LoopVectorization warnings before error-check run
@test_nowarn_mod trixi_include(joinpath(examples_dir(), "tree_1d_dgsem",
"elixir_advection_uncertainty.jl"))

@test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_advection_uncertainty.jl"),
l2=[0.0012576893000440965 ± 0.017581020765034417],
linf=[0.004425204509676317 ± 0.0633672486044246])
# Using Measurements.jl actually allocates quite significantly
let
t = sol.t[end]
u_ode = sol.u[end]
du_ode = similar(u_ode)
@test (@allocated Trixi.rhs!(du_ode, u_ode, semi, t)) < 100_000
end
end
end

end # module
2 changes: 1 addition & 1 deletion test/test_trixi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ macro test_nowarn_mod(expr, additional_ignore_content = [])
# Warnings from third party packages
r"┌ Warning: Problem status ALMOST_INFEASIBLE; solution may be inaccurate.\n└ @ Convex ~/.julia/packages/Convex/.*\n",
r"┌ Warning: Problem status ALMOST_OPTIMAL; solution may be inaccurate.\n└ @ Convex ~/.julia/packages/Convex/.*\n",
# Warnings for higher-precision floating data types or Measurements.jl
# Warnings for higher-precision floating data types
r"┌ Warning: #= /home/runner/work/Trixi.jl/Trixi.jl/src/solvers/dgsem/interpolation.jl:118 =#:\n│ `LoopVectorization.check_args` on your inputs failed; running fallback `@inbounds @fastmath` loop instead.\n│ Use `warn_check_args=false`, e.g. `@turbo warn_check_args=false ...`, to disable this warning.\n└ @ Trixi ~/.julia/packages/LoopVectorization/.*\n",
r"┌ Warning: #= /home/runner/work/Trixi.jl/Trixi.jl/src/solvers/dgsem/interpolation.jl:136 =#:\n│ `LoopVectorization.check_args` on your inputs failed; running fallback `@inbounds @fastmath` loop instead.\n│ Use `warn_check_args=false`, e.g. `@turbo warn_check_args=false ...`, to disable this warning.\n└ @ Trixi ~/.julia/packages/LoopVectorization/.*\n"
]
Expand Down
Loading