Highly parallel structured adaptive mesh refinement using parallel language-based approaches

被引:20
作者
Balsara, DS
Norton, CD [1 ]
机构
[1] NASA, Jet Prop Lab, CALTECH, MS 168-522,4800 Oak Grove Dr, Pasadena, CA 91109 USA
[2] Univ Illinois, NCSA, Champaign, IL 61820 USA
[3] Univ Illinois, CSAR, Champaign, IL 61820 USA
基金
美国国家科学基金会; 美国国家航空航天局;
关键词
parallel adaptive mesh refinement; fortran; 90; distributed shared memory; load balancer; finite difference methods;
D O I
10.1016/S0167-8191(00)00088-0
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Adaptive Mesh Refinement (AMR) calculations carried out on structured meshes play an exceedingly important role in several areas of science and engineering. This is so not just because AMR techniques allow us to carry out calculations very efficiently but also because they model very precisely the multi-scale fashion in which nature itself works. Many AMR applications are also amongst the most computationally intensive calculations undertaken making it necessary to use parallel supercomputers for their solution. While class library-based approaches are being attempted for parallel AMR we point out here that recent advances in the Fortran 90/95 standard and the OpenMP standard now make it possible to carry out highly parallel AMR calculations using language-based approaches, The language-based approaches offer several advantages over library-based approaches, the two principal ones being portability across parallel platforms and the best possible utilization of Distributed Shared Memory (DSM) hardware on machines that have such hardware. They also free up the applications scientist from being constrained by the static features of a class library. The choice of Fortran also ensures maximal reuse of pre-existing Fortran 77 applications and full Fortran 77-based processing efficiency on each computational node. Our implementation of the ideas presented here in the first author's RIEMANN framework essentially permits any serial, uniform grid, stencil-based Fortran code to be turned into a parallel AMR code, In this paper we first describe our strategy for using Fortran 90 in an object-oriented fashion, This permits AMR applications to be expressed in terms of familiar abstractions that are natural to the process of solving AMR hierarchies. We then describe the OpenMP features that are useful for parallel processing of AMR hierarchies in a load balanced fashion on multiprocessors. The automatic. parallel regridding of AMR hierarchies is also described. We then present a very efficient load balancer and show how it is to be used for load balanced solution of AMR hierarchies. Our load balancer is extremely general and should also see use in other disciplines. We follow this up with the application of the parallel AMR techniques developed here to the solution of elliptic and hyperbolic problems. For our elliptic problem we choose parallel, self-adaptive multigrid as an example. For our hyperbolic problem we choose time-dependent MHD as an example. In either case illustrative information is given about the adaptive processing of these systems. We also provide detailed scalability studies for both the above-mentioned problems which show that our methods scale extremely well up to several hundreds of processors. (C) 2001 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:37 / 70
页数:34
相关论文
共 60 条
[1]  
Aftosmis M. J., 1997, 970196 AIAA
[2]   Robust and efficient Cartesian mesh generation for component-based geometry [J].
Aftosmis, MJ ;
Berger, MJ ;
Melton, JE .
AIAA JOURNAL, 1998, 36 (06) :952-960
[3]   TreadMarks: Shared memory computing on networks of workstations [J].
Amza, C ;
Cox, AL ;
Dwarkadas, S ;
Keleher, P ;
Lu, HH ;
Rajamony, R ;
Yu, WM ;
Zwaenepoel, W .
COMPUTER, 1996, 29 (02) :18-&
[4]   LOCAL MESH REFINEMENT MULTILEVEL TECHNIQUES [J].
BAI, D ;
BRANDT, A .
SIAM JOURNAL ON SCIENTIFIC AND STATISTICAL COMPUTING, 1987, 8 (02) :109-134
[5]  
BALSARA D, 1999, P NEW TRENDS HIGH PE, P17
[6]  
BALSARA D, 2001, IN PRESS J QUANT SPE
[7]  
BALSARA D, 2001, IN PRESS ASTROPHYSIC
[8]   A staggered mesh algorithm using high order Godunov fluxes to ensure solenoidal magnetic fields in magnetohydrodynamic simulations [J].
Balsara, DS ;
Spicer, DS .
JOURNAL OF COMPUTATIONAL PHYSICS, 1999, 149 (02) :270-292
[9]   Monotonicity preserving weighted essentially non-oscillatory schemes with increasingly high order of accuracy [J].
Balsara, DS ;
Shu, CW .
JOURNAL OF COMPUTATIONAL PHYSICS, 2000, 160 (02) :405-452
[10]   Total variation diminishing scheme for adiabatic and isothermal magnetohydrodynamics [J].
Balsara, DS .
ASTROPHYSICAL JOURNAL SUPPLEMENT SERIES, 1998, 116 (01) :133-153