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

Tweak optimization for faster Intel Release build #2354

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

mathomp4
Copy link
Member

@mathomp4 mathomp4 commented Sep 18, 2023

Description

Trying to speed the build of MAPL by lowering optimization levels of expensive files.

The profile before:

Screenshot 2023-09-18 at 12 28 07 PM

and the build was ~10 minutes.

After:

Screenshot 2023-09-18 at 12 28 10 PM

and the build is ~4 minutes. Nice!

Related Issue

Motivation and Context

Faster builds lead to faster development! Plus it makes the GEOSgcm Release build about 2-3 minutes faster.

How Has This Been Tested?

Runs with GEOSgcm show it to be zero-diff.

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

@mathomp4 mathomp4 added Non 0-diff 0 Diff The changes in this pull request have verified to be zero-diff with the target branch. labels Sep 18, 2023
@mathomp4 mathomp4 self-assigned this Sep 18, 2023
@mathomp4 mathomp4 changed the title Tweak optimization for faster build Tweak optimization for faster Intel Release build Sep 18, 2023
@mathomp4 mathomp4 marked this pull request as ready for review September 18, 2023 16:31
@mathomp4 mathomp4 requested review from a team as code owners September 18, 2023 16:31
@mathomp4
Copy link
Member Author

Note: I tried a few things with the GNU build but nothing seemed to matter there.

@mathomp4 mathomp4 merged commit 9e16759 into develop Sep 18, 2023
45 checks passed
@mathomp4 mathomp4 deleted the feature/mathomp4/speedup-intel-build branch September 18, 2023 18:03
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.

None yet

2 participants