Skip to content

MPI fix to UOST file read - speed up#8

Merged
sbrus89 merged 1 commit into
E3SM-Project:e3smfrom
erinethomas:uost_file_speedup
May 1, 2026
Merged

MPI fix to UOST file read - speed up#8
sbrus89 merged 1 commit into
E3SM-Project:e3smfrom
erinethomas:uost_file_speedup

Conversation

@erinethomas
Copy link
Copy Markdown

@erinethomas erinethomas commented Mar 26, 2026

This PR adds a MPI fix to WW3 that speeds up the reading of the unresolved obstacle ascii files. This massively speeds up the WW3 initialization speed. This PR addresses the long standing issue posted here:E3SM-Project/E3SM#6670

WW3 currently reads the ASCII files for unresolved obstacles on every processor. This PR puts in a MPI broadcast to reduce the number of processors trying to read the same file at once.

several tests were run to quantify initialization speed up as follows.
Overall, the initialization speed up is an order of magnitude, with negligible impact to the run time:

Test Init time (seconds) Run Time (seconds)
1-day-test_1_No_fix 3945 99
1-day-test_1_with_fix 155 172
1-day-test_2_No_fix 2964 104
1-day-test_2_with_fix 439 121
1-month-test_No_fix 2550 2874
1-month-test_with_fix 355 2914

Copy link
Copy Markdown
Collaborator

@sbrus89 sbrus89 left a comment

Choose a reason for hiding this comment

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

Passes e3sm_wav_developerwith baseline comparison (and with significant speedup). Thanks for the great work @erinethomas!

@sbrus89 sbrus89 merged commit 90ce391 into E3SM-Project:e3sm May 1, 2026
2 of 4 checks passed
@sbrus89
Copy link
Copy Markdown
Collaborator

sbrus89 commented May 1, 2026

@erinethomas, this is all set for a submodule update PR in E3SM.

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