Regular Paper: Interactive N-Body Simulations On the Grid: HLA Versus MPI

The grid paradigm for distributed computation provides an interesting framework for the simulation of dense stellar systems, which remains a great challenge for astrophysicists. In this work we apply a distributed simulation model to the astrophysical N-body problem: the High Level Architecture (HLA), using distributed federations on top of grid infrastructures for the communication between simulation and visualization components. To achieve this goal, we use a grid HLA Management system (G-HLAM) for HLA-based simulations running on the grid. We compare this setup with a direct parallelization of the N-body code using MPI on the grid. Our aim is to provide scientists with an interactive environment where, in contrast to traditional MPI-based parallel processing, seamless simulation process migration and rollbacks can be invoked on the fly to improve the overall computational performance. We found that MPI and HLA are complementary rather than competing technologies, as they can be used simultaneously to improve the performance of complex simulations on different fronts. On one hand, if the communication to computation ratio is small enough, the MPI parallelization proves to be a relatively easy and efficient method for taking advantage of grid technology. On the other hand, HLA provides advanced mechanisms to synchronize simulation and visualization components located on different grid nodes and can be used to add steering mechanisms to improve interaction. Finally, we found that HLA allows migration of running simulations to be easily managed, reducing overall communication times between simulation and the user, effectively improving the overall system performance.

[1]  Junichiro Makino,et al.  On a Hermite Integrator with Ahmad-Cohen Scheme for Gravitational Many-Body Problems , 1992 .

[2]  Cho-Li Wang,et al.  Distributed particle simulation method on adaptive collaborative system , 2001, Future Gener. Comput. Syst..

[3]  Katarzyna Rycerz,et al.  A Grid Service for Management of Multiple HLA Federate Processes , 2005, PPAM.

[4]  Piet Hut,et al.  Use of Supercomputers in Stellar Dynamics , 1986 .

[5]  Bernard P. Zeigler,et al.  Collaborative distributed network system: a lightweight middleware supporting collaborative DEVS modeling , 2000, Future Gener. Comput. Syst..

[6]  S. McMillan The vectorization of small-n integrators , 1986 .

[7]  P. Coveney,et al.  Introducing WEDS : a WSRF-based Environment for Distributed Simulation Technical Report Number UKeS-2004-07 , 2004 .

[8]  R. Spurzem Direct N-body simulations , 1999, astro-ph/9906154.

[9]  Laurent Lefèvre,et al.  Designing and evaluating an active grid architecture , 2005, Future Gener. Comput. Syst..

[10]  Peter M. A. Sloot,et al.  The Design of Dynamic Exploration Environments for Computational Steering Simulations , 2000 .

[11]  Peter M. A. Sloot,et al.  The implementation of dynamite: an environment for migrating PVM tasks , 2000, OPSR.

[12]  Vladimir L. Kharitonov,et al.  Distributed simulation of hybrid systems with AnyLogic and HLA , 2002, Future Gener. Comput. Syst..

[13]  H. Plummer On the Problem of Distribution in Globular Star Clusters: (Plate 8.) , 1911 .

[14]  Simon Portegies Zwart,et al.  Monte Carlo Simulations of Globular Cluster Evolution. I. Method and Test Calculations , 2000 .

[15]  S. Aarseth From NBODY1 to NBODY6: The Growth of an Industry , 1999 .

[16]  H. Cohn,et al.  Late core collapse in star clusters and the gravothermal instability , 1980 .

[17]  Katarzyna Rycerz,et al.  A Framework for HLA-Based Interactive Simulations on the Grid , 2005, Simul..

[18]  Junichiro Makino,et al.  Formation of massive black holes through runaway collisions in dense young star clusters , 2004, Nature.

[19]  Junichiro Makino,et al.  Star cluster ecology-IV. Dissection of an open star cluster: photometry , 2001 .

[20]  Azzedine Boukerche,et al.  Alternative approaches to multicast group management in large-scale distributed interactive simulation systems , 2006, Future Gener. Comput. Syst..

[21]  Simon Portegies Zwart,et al.  Performance analysis of direct N-body algorithms for astrophysical simulations on distributed systems , 2007, Parallel Comput..

[22]  Stephen John Turner,et al.  Federate Migration in HLA-Based Simulation , 2004, International Conference on Computational Science.

[23]  Marian Bubak,et al.  Towards a grid management system for HLA-based interactive simulations , 2003, Proceedings Seventh IEEE International Symposium on Distributed Simulation and Real-Time Applications.

[24]  Mirek Giersz Monte Carlo Simulations of Star Clusters , 2000 .

[25]  Katarzyna Rycerz,et al.  HLA Grid based support for simulation of vascular reconstruction , 2005 .

[26]  Toshiyuki Fukushige,et al.  GRAPE-6: Massively-Parallel Special-Purpose Computer for Astrophysical Particle Simulations , 2003, astro-ph/0310702.

[27]  John Shalf,et al.  Cactus Tools for Grid Applications , 2001, Cluster Computing.

[28]  Simon Portegies Zwart,et al.  Performance of a Parallel Astrophysical N-Body Solver on Pan-European Computational Grids , 2005, EGC.

[29]  Luís Moura Silva,et al.  System-level versus user-defined checkpointing , 1998, Proceedings Seventeenth IEEE Symposium on Reliable Distributed Systems (Cat. No.98CB36281).

[30]  Mirek Giersz Monte Carlo simulations of star clusters - I. First Results , 1998 .