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 file simple test for non threaded tests #20

Merged

Conversation

cniethammer
Copy link
Contributor

The simple file test deadlocked when run without mpi2-threads being enabled. This was caused by calling and checking for a thread with number 0. Instead one should check for TST_THREAD_MASTER - and do not use thread related code in non-threaded runs, i.e., put ifdefs around.

The simple file test deadlocked when run without mpi2-threads being
enabled. This was caused by calling and checking for a thread with
number 0. Instead one should check for TST_THREAD_MASTER - and do not
use thread related code in non-threaded runs, i.e., put ifdefs around.

Signed-off-by: Christoph Niethammer <[email protected]>
@cniethammer cniethammer added the bug Something isn't working label Oct 29, 2024
@cniethammer cniethammer merged commit 6f572d0 into open-mpi:main Oct 29, 2024
1 check passed
@cniethammer cniethammer deleted the fix_simple_file_test_deadlock branch October 29, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant