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

release/public-v1: bug fix for threading issue in stochastic physics #62

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Feb 10, 2020

The stochastic physics code hangs indefinitely when called with more than two threads. This PR and associated PRs below fix/avoid this issue by

  • correcting the stochastic_physics code to use the number of threads provided by the host model, and
  • call stochastic_physics with only one thread

See issue ufs-community/ufs-weather-model#51

Since these changes do not affect the physics or the regression test results (these are created with stochastic physics turned off), the PRs listed below can be merged anytime after the code review.

Associated PRs:
ufs-community/ufs-weather-model#55
#62
NOAA-PSL/stochastic_physics#13

@climbfuji
Copy link
Collaborator Author

I will be running the tests later tonight, just updated the codebase following the merge of ufs-community/ufs-weather-model#54 and NOAA-PSL/stochastic_physics#13.

@junwang-noaa
Copy link
Collaborator

Dom,

So after your RT is done, we will make the commit.

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.

3 participants