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

Testsuite: fix gmsh tests #15388

Merged
merged 3 commits into from Jun 20, 2023
Merged

Testsuite: fix gmsh tests #15388

merged 3 commits into from Jun 20, 2023

Conversation

tamiko
Copy link
Member

@tamiko tamiko commented Jun 20, 2023

  • add MPI_InitFinialize to the api tests so that the MPI context is properly initalized and finalized. Otherwise our tests fail when gmsh is compiled with MPI support.
  • add output variants for the two unstable tests.

In reference to #15383

@tamiko tamiko added this to the Release 9.5 milestone Jun 20, 2023
Comment on lines +25 to +28
main(int argc, char **argv)
{
// gmsh might be build with mpi support enabled.
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv);
Copy link
Member

Choose a reason for hiding this comment

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

Why is this necessary? These tests aren't run under MPI, are they?

Copy link
Member Author

Choose a reason for hiding this comment

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

@bangerth When you build gmsh with MPI support then gmsh is running under an MPI context.
Test failure: https://cdash.dealii.org/test/22159767

*** The MPI_Comm_rank() function was called after MPI_FINALIZE was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[testsuite:1942435] Local abort after MPI_FINALIZE started completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed!

Copy link
Member Author

Choose a reason for hiding this comment

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

oops I forgot to copy the commit message into the pull request description.

Copy link
Member

Choose a reason for hiding this comment

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

I see. Thanks for the clarification!

@tamiko tamiko changed the title Testsuite: fix tests Testsuite: fix gmsh tests Jun 20, 2023
@tamiko tamiko added the Tests label Jun 20, 2023
@kronbichler kronbichler merged commit 393d25b into dealii:master Jun 20, 2023
11 of 14 checks passed
@tamiko tamiko deleted the fix_gmsh_tests branch July 7, 2023 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants