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 条
[51]  
SCHERER A, 1999, P 7 C PRINC PRACT PA
[52]   ZEUS-2D - A RADIATION MAGNETOHYDRODYNAMICS CODE FOR ASTROPHYSICAL FLOWS IN 2 SPACE DIMENSIONS .3. THE RADIATION HYDRODYNAMIC ALGORITHMS AND TESTS [J].
STONE, JM ;
MIHALAS, D ;
NORMAN, ML .
ASTROPHYSICAL JOURNAL SUPPLEMENT SERIES, 1992, 80 (02) :819-845
[53]   ZEUS-2D - A RADIATION MAGNETOHYDRODYNAMICS CODE FOR ASTROPHYSICAL FLOWS IN 2 SPACE DIMENSIONS .2. THE MAGNETOHYDRODYNAMIC ALGORITHMS AND TESTS [J].
STONE, JM ;
NORMAN, ML .
ASTROPHYSICAL JOURNAL SUPPLEMENT SERIES, 1992, 80 (02) :791-818
[54]   ZEUS-2D - A RADIATION MAGNETOHYDRODYNAMICS CODE FOR ASTROPHYSICAL FLOWS IN 2 SPACE DIMENSIONS .1. THE HYDRODYNAMIC ALGORITHMS AND TESTS [J].
STONE, JM ;
NORMAN, ML .
ASTROPHYSICAL JOURNAL SUPPLEMENT SERIES, 1992, 80 (02) :753-790
[55]   Self-gravitational hydrodynamics with three-dimensional adaptive mesh refinement: Methodology and applications to molecular cloud collapse and fragmentation [J].
Truelove, JK ;
Klein, RI ;
McKee, CF ;
Holliman, JH ;
Howell, LH ;
Greenough, JA ;
Woods, DT .
ASTROPHYSICAL JOURNAL, 1998, 495 (02) :821-852
[56]   TOWARDS THE ULTIMATE CONSERVATIVE DIFFERENCE SCHEME .5. 2ND-ORDER SEQUEL TO GODUNOVS METHOD [J].
VAN LEER, B .
JOURNAL OF COMPUTATIONAL PHYSICS, 1979, 32 (01) :101-136
[57]  
WARREN GP, 1991, GRID CONVERGENCE ADA
[58]  
YEE KS, 1966, IEEE T ANTENN PROPAG, VAP14, P302
[59]  
1998, OPENMP FORUM
[60]  
1997, HIGH PERFORMANCE FOR