A parallel tree code for large N-body simulation: dynamic load balance and data distribution on a CRAY T3D system

被引:7
作者
Becciani, U
Ansaloni, R
AntonuccioDelogu, V
Erbacci, G
Gambera, M
Pagliaro, A
机构
[1] SILICON GRAPH SPA,I-20089 ROZZANO,MI,ITALY
[2] CINECA,I-40033 CASALECCHIO RENO,BO,ITALY
[3] UNIV CATANIA,IST ASTRON,I-95125 CATANIA,ITALY
[4] CNR,GNA,UNITA RIC,CATANIA,ITALY
关键词
D O I
10.1016/S0010-4655(97)00102-1
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
N-body algorithms for long-range unscreened interactions like gravity belong to a class of highly irregular problems whose optimal solution is a challenging task for present-day massively parallel computers. In this paper we describe a strategy for optimal memory and work distribution which we have applied to our parallel implementation of the Barnes & Hut (1986) recursive tree scheme on a Cray T3D using the CRAFT programming environment. We have performed a series of tests to find an optimal data distribution in the T3D memory, and to identify a strategy for the Dynamic Load Balance in order to obtain good performances when running large simulations (more than 10 million particles). The results of tests show that the step duration depends on two main factors: the data locality and the T3D network contention. Increasing data locality we are able to minimize the step duration if the closest bodies (direct interaction) tend to be located in the same PE local memory (contiguous block subdivison, high granularity), whereas the tree properties have a fine grain distribution. In a very large simulation, due to network contention, an unbalanced load arises. To remedy this we have devised an automatic work redistribution mechanism which provided a good Dynamic Load Balance at the price of an insignificant overhead. (C) 1997 Elsevier Science B.V.
引用
收藏
页码:105 / 113
页数:9
相关论文
共 14 条
[1]  
Antonuccio-Delogu V., 1994, Parallel Scientific Computing. First International Workshop, PARA '94. Proceedings, P17, DOI 10.1007/BFb0030132
[2]   A HIERARCHICAL O(N-LOG-N) FORCE-CALCULATION ALGORITHM [J].
BARNES, J ;
HUT, P .
NATURE, 1986, 324 (6096) :446-449
[3]   A MODIFIED TREE CODE - DONT LAUGH - IT RUNS [J].
BARNES, JE .
JOURNAL OF COMPUTATIONAL PHYSICS, 1990, 87 (01) :161-170
[4]   A work- and data-sharing parallel tree N-body code [J].
Becciani, U ;
AntonucciDelogu, V ;
Pagliaro, A .
COMPUTER PHYSICS COMMUNICATIONS, 1996, 99 (01) :9-20
[5]  
BECCIANI U, 1997, UNPUB
[6]  
BROOKS J, 1995, SINGLE PE OPTIMIZATI
[7]  
*CRAY RES INC, 1994, CRAY MPP FORTR REF M
[8]  
*CRAY RES INC, 1993, HR04033 CRAY RES INC
[9]  
Dubinski J., 1996, New Astronomy, V1, P133, DOI 10.1016/S1384-1076(96)00009-7
[10]  
GAMBERA M, 1997, UNPUB