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

Sometimes vector_halo_update hangs #80

Open
rheacangeo opened this issue Jun 24, 2020 · 0 comments
Open

Sometimes vector_halo_update hangs #80

rheacangeo opened this issue Jun 24, 2020 · 0 comments

Comments

@rheacangeo
Copy link
Contributor

fv3ser uses the halo update functions provided in this repo and they work really well. However, in some situations (tbd), the vector_halo_update command seems to get into a race condition and hangs indefinitely. The work around is to use start_vector_halo_update and place the wait() later in the code. This can be reproduced in fvser.git/fv3/stencils/dyn_core.py. reqs_vector starts a halo update, and later in the code the wait() completes it. If we either put the wait() right after the start, or remove the reqs_vector and instead call vector_halo_update (which functionally does the same thing), the race condition is encountered when we run it.
make tests_mpi TEST_ARGS="-vv -s --which_modules=DynCore"
There are other cases where a race condition is not encountered. e.g. CubedToLatLon has a vector_halo_update and runs with no problems.

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

No branches or pull requests

1 participant