Skip to content

Comments

Updates to the MetGrid initialization and forcing pathway#2806

Draft
wiersema1 wants to merge 5 commits intoerf-model:developmentfrom
wiersema1:metgrid_updates
Draft

Updates to the MetGrid initialization and forcing pathway#2806
wiersema1 wants to merge 5 commits intoerf-model:developmentfrom
wiersema1:metgrid_updates

Conversation

@wiersema1
Copy link
Contributor

These updates resolve some memory bottlenecks and facilitate multilevel configurations. The MetGrid pathway now processes each time sequentially to reduce the memory footprint. Temporary variables were previously fabs, which introduced a memory bottleneck that scaled in severity with the number of ranks, but have been updated to MultiFabs to eliminate this bottleneck.

Note: this is a second PR with a clean port of the changes from the original PR, which is to be closed and not merged.

…memory bottlenecks and facilitate multilevel configurations. The MetGrid pathway now processes each time sequentially to reduce the memory footprint. Temporary variables were previously fabs, which introduced a memory bottleneck that scaled in severity with the number of ranks, but have been updated to MultiFabs to eliminiate this bottleneck.
@ewquon
Copy link
Contributor

ewquon commented Feb 4, 2026

@wiersema1, my colleague has confirmed that this PR fixes his memory issue using the metgrid path -- so no need for his workaround, which was

amrex.the_arena_is_managed = true
amrex.the_arena_init_size = 10737418240  # 10 GB

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.

3 participants