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

Features/ccpp compile opt update #14

Closed
wants to merge 9 commits into from
Closed

Features/ccpp compile opt update #14

wants to merge 9 commits into from

Conversation

llpcarson
Copy link
Contributor

Reduce optimization for GFS_diagnostics.F90:
reduces compilation time and eliminates compile failure for Intel >17.x

    In the gfsphyics IPD_driver_cap.f90 there were two references to
    "ccpp_fields_get_ptr":

    https://github.com/NCAR/gmtb-gfsphysics/blob/features/ccpp/IPD_layer/IPD_driver_cap.f90

    lines 246 & 309.

    The subroutine is not public. I (Tim) wrapped it with an interface/module
    procedure as ccpp_fields_get() so as to be able to get an int, real,
    logical and pointer. We should not be calling the _ptr subroutine.

        modified:   IPD_layer/IPD_driver_cap.f90
    modified:   IPD_layer/IPD_driver_cap.f90
… into features/ccpp

Conflicts:
	IPD_layer/IPD_driver_cap.f90
   reduces compilation time and eliminates compile failure for Intel >17.x
M	modified:   makefile
@llpcarson llpcarson requested a review from grantfirl November 17, 2017 15:33
@llpcarson
Copy link
Contributor Author

Grant - this one needs to go in before we start merging...

@climbfuji
Copy link
Collaborator

@grantfirl @llpcarson if I see this correctly, the entire commit history is already included in some way, the only commit that really changes the code is 58083a? If so, I would remove the other commits from that PR for simplicity? Or did I overlook some of the submodule stuff again?

@climbfuji
Copy link
Collaborator

@llpcarson would a reduced optimization (-O1) still work? Should I try that today during my cheyenne / theia tests?

@llpcarson
Copy link
Contributor Author

I didn't try -O1... the routine is not computationally intensive, just assigning pointers, so no-opt is not a timing hit.

@climbfuji
Copy link
Collaborator

@llpcarson @grantfirl I created a "clean" version of the PR also describing why we don't use/try -O1 right now, PR#18. The changes are the same. If you are ok with this, please merge it (Laurie or Grant), I think the changes themselves are fine.

@climbfuji
Copy link
Collaborator

Replaced by PR#18.

@climbfuji climbfuji closed this Nov 20, 2017
climbfuji referenced this pull request in climbfuji/ccpp-physics Feb 13, 2020
Workaround/bugfix for correct initialization of Thompson MP
hannahcbarnes pushed a commit to hannahcbarnes/ccpp-physics that referenced this pull request Apr 7, 2020
hannahcbarnes pushed a commit to hannahcbarnes/ccpp-physics that referenced this pull request Apr 28, 2020
…st_code

Update to MYNN Surface Layer Scheme and related modules (NCAR#14 - based on latest code)
climbfuji pushed a commit that referenced this pull request Jan 20, 2021
climbfuji added a commit that referenced this pull request May 27, 2021
…o_its_own_scheme_and_z0_composite_consistent_gjf

Copy FV3 changes in GFS_phys_time_vary.fv3.F90/meta to SCM versions
ChunxiZhang-NOAA added a commit to ChunxiZhang-NOAA/ccpp-physics that referenced this pull request Nov 1, 2022
CCPP Scientific Documentation updates for UFS-SRW v2.1.0
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.

2 participants