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 #1655

Merged
merged 47 commits into from
Sep 27, 2022
Merged

Feature/aoloso/hybrid openmp #1655

merged 47 commits into from
Sep 27, 2022

Conversation

aoloso
Copy link
Contributor

@aoloso aoloso commented Sep 6, 2022

Description

Several changes to support component level hybrid MPI/OpenMP.

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Trivial change (affects only documentation or cleanup)

Checklist:

  • I have tested this change with a run of GEOSgcm (if non-trivial)
  • I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
  • I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

aoloso added 23 commits January 7, 2022 18:55
…ption error when using multiple OpenMP threads in GOCART2G
…nges to allow gfortran to compile BaseProfiler.F90
… for the Intel compiler to work correctly when using multiple threads
…Added accessors (set and get) for component level variable use_threads
…e that is already checked in MAPL_GenericWrapper
@aoloso aoloso requested review from a team as code owners September 6, 2022 16:03
@tclune
Copy link
Collaborator

tclune commented Sep 14, 2022

OK - presumably something in this PR triggered this. Presumably it is MaplGrid. Looking...

@tclune
Copy link
Collaborator

tclune commented Sep 14, 2022

OK - this is perverse. The "units" argument is not even used by ESMFL, so there is no reason to specify it!

In any even the named constant should be moved to ./shared/Constants/InternalConstants.F90 if it is truly needed.

ESMFL should be treated as deprecated, but we can't delete it just yet.

…PL_UnitsRadians in InternalConstants.F90. Did a global search/replace. This avoid the circular dependency build error when ESMF_UnitsRadians is used in MaplGrid.F90
@mathomp4 mathomp4 mentioned this pull request Sep 15, 2022
7 tasks
tclune
tclune previously approved these changes Sep 23, 2022
@mathomp4
Copy link
Member

I tested this (along with #1683) with the GCM and it seems zero-diff and good to go.

@mathomp4 mathomp4 self-requested a review September 26, 2022 15:43
mathomp4
mathomp4 previously approved these changes Sep 26, 2022
Copy link
Member

@mathomp4 mathomp4 left a comment

Choose a reason for hiding this comment

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

Forgot to approve. I suppose if @tclune is happy, we can fold this in!

@mathomp4 mathomp4 merged commit cc0a511 into develop Sep 27, 2022
@mathomp4 mathomp4 deleted the feature/aoloso/hybrid-openmp branch September 27, 2022 19:42
@mathomp4 mathomp4 mentioned this pull request Sep 30, 2022
7 tasks
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.

4 participants