English

Efficient Parallelization for AMR MHD Multiphysics Calculations; Implementation in AstroBEAR

Instrumentation and Methods for Astrophysics 2011-10-10 v1 Solar and Stellar Astrophysics Distributed, Parallel, and Cluster Computing Computational Physics

Abstract

Current AMR simulations require algorithms that are highly parallelized and manage memory efficiently. As compute engines grow larger, AMR simulations will require algorithms that achieve new levels of efficient parallelization and memory management. We have attempted to employ new techniques to achieve both of these goals. Patch or grid based AMR often employs ghost cells to decouple the hyperbolic advances of each grid on a given refinement level. This decoupling allows each grid to be advanced independently. In AstroBEAR we utilize this independence by threading the grid advances on each level with preference going to the finer level grids. This allows for global load balancing instead of level by level load balancing and allows for greater parallelization across both physical space and AMR level. Threading of level advances can also improve performance by interleaving communication with computation, especially in deep simulations with many levels of refinement. To improve memory management we have employed a distributed tree algorithm that requires processors to only store and communicate local sections of the AMR tree structure with neighboring processors.

Keywords

Cite

@article{arxiv.1110.1616,
  title  = {Efficient Parallelization for AMR MHD Multiphysics Calculations; Implementation in AstroBEAR},
  author = {Jonathan Carroll-Nellenback and Brandon Shroyer and Adam Frank and Chen Ding},
  journal= {arXiv preprint arXiv:1110.1616},
  year   = {2011}
}

Comments

Proceedings From 6th Annual International Conference on Numerical Modeling of Space Plasma Flows

R2 v1 2026-06-21T19:16:56.556Z