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

Feature/aoloso/hybrid openmp issue#181 #191

Merged
merged 21 commits into from
Jan 24, 2023

Conversation

aoloso
Copy link
Contributor

@aoloso aoloso commented Sep 28, 2022

Changes were made so GOCART2G and its children can be run with component level
OpenMP threading. The key change is to create the data structure ThreadWorkspace
to hold variables that should be private to each thread to avoid race conditions.
Additionally spatially distributed arrays that were not in any of the ESMF states
were added to the ESMF internal state so they could be properly handled when
the 'mini' ESMF sates are created. Those arrays are xhno3 for NI2G, h202_init
for SU2G, and deep_lakes_mask for SS2G. All of these arrays have MAPL_RestartSkip
option so they are not written to restart.

@aoloso aoloso requested a review from a team as a code owner September 28, 2022 16:07
@aoloso aoloso added the 0 diff structural Structural changes to repository that are zero-diff label Sep 28, 2022
@amdasilva
Copy link
Collaborator

I am going to hold on to this PR until Virginie checks in her latest diagnostic mods and ask you to remerge to develop. I want to make sure Virginie does not miss any of these OMP mods.

Also, we will need to be educated to maintain this capability. It would be very easy for someone to add code and mess this up.

@tclune
Copy link
Contributor

tclune commented Jan 6, 2023

@amdasilva @vbuchard NOAA has been very patient, but is continuing to ask when this capability will be available in GOCART ...

@aoloso Could you update the branch and see if anything needs fixing for a new merge?

Copy link
Collaborator

@amdasilva amdasilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes seem reasonable, although details are a bit hard to follow. Cross your fingers...

@amdasilva amdasilva merged commit 257bfc8 into develop Jan 24, 2023
@amdasilva amdasilva deleted the feature/aoloso/hybrid-openmp_issue#181 branch January 24, 2023 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff structural Structural changes to repository that are zero-diff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants