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

gcc14: Compile icepack data file at -O0 #982

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

mathomp4
Copy link
Member

Testing with gcc 14 found that the compilation of icepack/columnphysics/icepack_shortwave_data.F90 was taking...forever. This file is 9600 lines of just setting arrays with reshape:

https://github.com/CICE-Consortium/Icepack/blob/4c87095256c1c599c3ccaa857a95744158751a60/columnphysics/icepack_shortwave_data.F90

There is no reason I can think of you'd need to optimize this at -O3 (though maybe @tclune has some thoughts), so for now we just say "if GNU, build at -O0". Now maybe this changes answers but even so, no one is running icepack → cice with GNU anyway, so it's essentially 0-diff.

@mathomp4 mathomp4 added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Aug 15, 2024
@mathomp4 mathomp4 requested a review from a team as a code owner August 15, 2024 20:07
@mathomp4 mathomp4 requested a review from sdrabenh August 19, 2024 15:44
@mathomp4 mathomp4 merged commit d21d478 into develop Aug 19, 2024
11 checks passed
@mathomp4 mathomp4 deleted the bugfix/mathomp4/test-gcc14-run branch August 19, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff The changes in this pull request have verified to be zero-diff with the target branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants