Skip to content

Commit

Permalink
Added @__MODULE__ to trixi_include call
Browse files Browse the repository at this point in the history
  • Loading branch information
amrueda committed Nov 19, 2024
1 parent 037be60 commit da69c9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module Test3D

using Test
using Trixi2Vtk
using Trixi
using MPI: mpiexec

include("test_trixi2vtk.jl")
Expand Down Expand Up @@ -110,7 +109,7 @@ end

# Run trixi in parallel with 2 ranks
mpiexec() do cmd
run(`$cmd -n 2 $(Base.julia_cmd()) --threads=1 --project=@. -e 'using Trixi; trixi_include(joinpath(examples_dir(), "p4est_3d_dgsem", "elixir_mhd_alfven_wave_nonconforming.jl"), trees_per_dimension=(1, 1, 1), maxiters=4)'`)
run(`$cmd -n 2 $(Base.julia_cmd()) --threads=1 --project=@. -e 'using Trixi; trixi_include(@__MODULE__, joinpath(examples_dir(), "p4est_3d_dgsem", "elixir_mhd_alfven_wave_nonconforming.jl"), trees_per_dimension=(1, 1, 1), maxiters=4)'`)
end

# Get output file name
Expand Down

0 comments on commit da69c9b

Please sign in to comment.