Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI test for writing vtk files #81

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bennibolm
Copy link
Contributor

No description provided.

t8_forest_write_vtk_ext(forest, file, write_treeid, write_mpirank,
write_level, write_element_id, write_ghosts,
0, 0, num_data, Ref(vtk_data))
# TODO: Add MPI barrier
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tests fail on one rank because writing the file is not yet finished on the other.

# TODO: Add MPI barrier
@test isfile(file * ".pvtu")
@test isfile(file * "_0000.vtu")
# TODO: Check file * "0001.vtu" for MPI parallel run
Copy link
Contributor Author

@bennibolm bennibolm Feb 6, 2025

Choose a reason for hiding this comment

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

If wanted, we could also test the file * "_0001.vtu" for the MPI run

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.

1 participant