Skip to content

Fix varn test: when running more than 4 processes, varn test program may hang #32

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

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

wkliao
Copy link
Member

@wkliao wkliao commented Aug 6, 2024

test/tst_var_bput_varn.py and test/tst_var_iput_varn.py
are designed to run on 4 MPI processes. When testing with a
different number of processes, special cars must be taken.

  • ensure number of pending requests are zeros for rank >=4
  • skip file content check when nprocs < 4

wkliao added 2 commits August 6, 2024 16:29
ensure num_reqs == 0, when rank >= 4
skip file content check, if nprocs < 4
@wkliao wkliao merged commit 220cfe1 into Parallel-NetCDF:main Aug 6, 2024
3 checks passed
@wkliao wkliao deleted the fix_varn_test branch August 6, 2024 21:43
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