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

Make hgrid combo #94

Merged
merged 5 commits into from
May 28, 2021
Merged

Make hgrid combo #94

merged 5 commits into from
May 28, 2021

Conversation

ngs333
Copy link
Contributor

@ngs333 ngs333 commented May 25, 2021

This PR fixes several invalid memory access, memory leaks, and some non-critical compiler warnings.
This PR also re-introduces a second version of function create_gnomonic_cubic_grid in order to
reproduce the pre-multinest awnsers in global refinement runs and also avoid some invalid memory access.

This code was tested on gfdl workstations, analysis, and an AMD box and with Intel and gnu compilers. The make_hgrid_segfaults of Test04 unit test does not appear any longer. Intel inspector indicates that invalid memory access and memory leaks within our custom code are not present under various of runs ( ,eg,, subnest producing runs, global refinement runs, regular non-nest runs, etc).

@ngs333 ngs333 requested a review from ceblanton May 25, 2021 03:32
@ceblanton ceblanton merged commit 8b75262 into NOAA-GFDL:master May 28, 2021
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.

make_hgrid segfaults in Test04-grid_coupled_nest.sh (on GFDL and GFDL-WS sites)
3 participants