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

Fix MPI_Barrier() test case #277

Merged
merged 1 commit into from
May 5, 2022
Merged

Fix MPI_Barrier() test case #277

merged 1 commit into from
May 5, 2022

Conversation

DanielSeemaier
Copy link
Member

Attempt to fix #274

But I'm not too sure whether this is actually what causes the test to fail.

@DanielSeemaier DanielSeemaier added the review Ready for review label Apr 27, 2022
tests/collectives/mpi_barrier_test.cpp Show resolved Hide resolved
auto start = std::chrono::high_resolution_clock::now();
// Ensure that we start our timer *before* the root goes to sleep
MPI_Barrier(MPI_COMM_WORLD);
Copy link
Member

Choose a reason for hiding this comment

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

See my comment in the associated issue.

Copy link
Member

@lukashuebner lukashuebner left a comment

Choose a reason for hiding this comment

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

Not ready for merging yet as the discussion is not finalized and unrelated changes are present.

Copy link
Member

@lukashuebner lukashuebner left a comment

Choose a reason for hiding this comment

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

Getting no false-negatives is probably as good as we can archive.

@DanielSeemaier DanielSeemaier merged commit 692dc3a into main May 5, 2022
@DanielSeemaier DanielSeemaier deleted the fix-barrier-test branch May 5, 2022 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ideas for testing barrier?
3 participants