Skip to content

Add (downstream) test to assess if the MPI rank was saved correctly in a Trixi parallel simulation#100

Draft
amrueda wants to merge 4 commits intomainfrom
arr/test_mpi_rank
Draft

Add (downstream) test to assess if the MPI rank was saved correctly in a Trixi parallel simulation#100
amrueda wants to merge 4 commits intomainfrom
arr/test_mpi_rank

Conversation

@amrueda
Copy link
Copy Markdown
Contributor

@amrueda amrueda commented Nov 18, 2024

No description provided.

@amrueda amrueda marked this pull request as draft November 19, 2024 08:41
Comment on lines +111 to +113
mpiexec() do cmd
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
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the right way to run Trixi in parallel from a Trixi2Vtk test, @sloede?
I'm getting the error:

ERROR: ERROR: ArgumentError: Package Trixi [a7f1ee26-1774-49b1-8366-f1abc58fbfcb] is required but does not seem to be installed:

... And I don't know how to fix it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't checked, but is this the same way we run the MPI tests in Trixi.jl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants