-
Notifications
You must be signed in to change notification settings - Fork 164
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 model slowness when using threading #258
Merged
junwang-noaa
merged 2 commits into
NOAA-EMC:develop
from
climbfuji:openmp_bugfix_ccppdata_ccppdriver_20210312
Mar 16, 2021
Merged
Fix model slowness when using threading #258
junwang-noaa
merged 2 commits into
NOAA-EMC:develop
from
climbfuji:openmp_bugfix_ccppdata_ccppdriver_20210312
Mar 16, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DusanJovic-NOAA
approved these changes
Mar 12, 2021
9 tasks
junwang-noaa
approved these changes
Mar 16, 2021
were we not just still having a discussion on the |
Yes, but this can be done in my next commit (tomorrow) or later if we can't come to a conclusion by then. I will follow your advise as to what we should use, I don't understand cmake as well as you do.
… On Mar 16, 2021, at 7:37 AM, Rahul Mahajan ***@***.***> wrote:
were we not just still having a discussion on the PUBLIC and PRIVATE nature of OpenMP linking in another thread?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#258 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AB5C2RODSAFGRYM7B2NLWJDTD5NH3ANCNFSM4ZC73K4Q>.
|
I think the slowness issue is resolved by the code changes. The update on
the PUBLIC and PRIVATE nature of OpenMP may require more changes besides
the changes in this PR, e.g. FV3/CMakeLists.txt,
On Tue, Mar 16, 2021 at 9:39 AM Dom Heinzeller ***@***.***>
wrote:
… Yes, but this can be done in my next commit (tomorrow) or later if we
can't come to a conclusion by then. I will follow your advise as to what we
should use, I don't understand cmake as well as you do.
> On Mar 16, 2021, at 7:37 AM, Rahul Mahajan ***@***.***> wrote:
>
>
> were we not just still having a discussion on the PUBLIC and PRIVATE
nature of OpenMP linking in another thread?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub <
#258 (comment)>, or
unsubscribe <
https://github.com/notifications/unsubscribe-auth/AB5C2RODSAFGRYM7B2NLWJDTD5NH3ANCNFSM4ZC73K4Q
>.
>
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#258 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TLHVEN3WER5VEI3JMDTD5NSJANCNFSM4ZC73K4Q>
.
|
AnningCheng-NOAA
added a commit
to AnningCheng-NOAA/fv3atm
that referenced
this pull request
Mar 16, 2021
* upstream/develop: Add missing OpenMP dependency to ccpp/data/CMakeLists.txt and ccpp/driver/CMakeLists.txt (NOAA-EMC#258) Regional inlinepost (NOAA-EMC#229)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the model slowness that we started to see after PR #249 was merged. The reason are missing OpenMP dependencies in
ccpp/data/CMakeLists.txt
andccpp/driver/CMakeLists.txt
.These dependencies were missing since the two folders
ccpp/data
andccpp/driver
were created. However, OpenMP was added implicitly through a dependency on targetgfsphysics
, which was removed in PR #249.Issue(s) addressed
ufs-weather-model issue #474
Testing
Tested manually with Intel and GNU on Cheyenne and Hera for the regression test
fv3_ccpp_2threads
for 240h long integration times. With these changes the performance of the pre-#249 code is regained (and at the same time the memory footprint is reduced due to the changes in #249).Dependencies
n/a