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

Do not refactor mass matrices in SIQN transport calculation #572

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

JHopeCollins
Copy link
Collaborator

@JHopeCollins JHopeCollins commented Nov 7, 2024

This is one of the changes made in #569. I don't have time to do any more on that PR this week, but seeing as this change makes the biggest difference (for the cases I've tried), and also doesn't break any tests, I'm adding it here so it can go into main quicker.

Flamegraphs below for the dry baroclinic sphere test case from the gusto_test_case repository, run on 32 cores with the following arguments:

--ncell_per_edge=30 --nlayers=10 --dt=900 --tmax=9000 --dumpfreq=10000 -log_view :flamelog.txt:ascii_flamegraph

Flamegraph for main:
flamelog-baroclinic_wave_nc30_nl10_dt900_tm9000_p032-7986162

Flamegraph for this branch:
flamelog-baroclinic_wave_nc30_nl10_dt900_tm9000_p32-7992404

Original takes 685s for 10 timesteps, this branch takes 365s.

Copy link
Contributor

@tommbendall tommbendall left a comment

Choose a reason for hiding this comment

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

This is great, thanks Josh!

@tommbendall tommbendall merged commit cdd2982 into main Nov 7, 2024
4 checks passed
@tommbendall tommbendall deleted the JHopeCollins/constant_transport_solves branch November 7, 2024 13:28
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