Numerical Relativity in a Distributed Environment

Numerical Relativity in a Distributed Environment

Numerical Relativity in a Distributed Environment 1;2 3 4 1;4;5 Werner Benger Ian Foster Jason Novotny Edward Seidel 4 3 1 John Shalf Warren Smith Paul Walker 1 Max-Planck-Institut fur Gravitationsphysik, Alb ert-Einstein-Institut 2 Konrad-Zuse-Zentrum fur Informationstechnik Berlin 3 Mathematics and Computer Science Division, Argonne National Lab oratory 4 National Center for Sup ercomputing Applications 5 Departments of Astronomy and Physics, University of Illinois at Urbana-Champaign Abstract The Cactus parallel simulation framework provides a mo dular and extensible set of comp onents for solving relativity problems on parallel computers. In recentwork, we haveinvestigated techniques that would enable the execution of Cactus applications in wide area \computational grid" environments. In a rst study,weinvestigated the feasibility of distributing a single simulation across multiple sup ercomputers, while in a second we studied techniques for reducing communication costs asso ciated with remote visualization and steering. Distributed simulation was achieved by using MPICH-G, an implementation of the Message Passing Interface standard that uses mechanisms provided by the Globus grid to olkit to enable wide area execution. Exp eriments were p erformed across SGI Origins and Cray T3Es with geographical separations ranging from hundreds to thousands of kilometers. Total execution time when distributed increased bybetween 48 and 133, dep ending on con guration. We view these results as encouraging as they were obtained with essentially no sp ecialized algorithmic structures in the Cactus application. Work on remote visualization fo cused on the development of a Cactus mo dule that computes isosurfaces inline with numerical relativity calculations. Exp eriments demonstrated that this technique can reduce network bandwidth requirements by a factor ranging from 2.5 to 114, dep ending on the nature of the problem. 1 Intro duction Many scienti c research communities involve collab orations that span the glob e and desire to share their widely distributed resources. Recent advances in networking technology have supp orted such e orts by enabling the construction of scienti c applications that use geographically distributed resources. The numerical simulations community is resp onding by developing to ols that allow b etter access to widely distributed sup ercomputing, networking, and storage resources. We discuss our exp eriences running simulations based on the Cactus p ortable parallel simulation framework for solving problems in general relativity on geographically distributed resources. We examine two di erent issues for running the Cactus co de in a distributed environ- ment. The rst problem is running a Cactus simulation on multiple parallel computer systems. We are examining this problem b ecause we hop e to p erform larger simulations than are currently p ossible on a single parallel computer. We distribute Cactus simulations 1 2 across multiple sup ercomputers using the mechanisms provided by the Globus to olkit. In particular, we use Globus mechanisms for authentication, access to remote computer sys- tems, le transfer, and communication. The Cactus co de uses MPI for communication and makes use of MPICH-G [9], an MPI implementation layered atop Globus communication mechanisms. These communication mechanisms allow a MPI application to b e executed on distributed resources. We nd that without p erforming any co de optimizations, our simulations ran 48 to 100 slower when using an Origin at the National Center for Sup ercomputing Applications NCSA and an Onyx2 at Argonne National Lab oratory ANL. We also ran simulations between Cray T3Es in Germany and a T3E at the San Diego Sup ercomputing Center SDSC. Running b etween the T3Es in Germany resulted in an increase in execution time of 79 to 133, and running b etween a German T3E and a T3E at the San Diego Sup ercomputing Center resulted in an execution time increase of 114 to 186. We nd these results encouraging as they indicate that even in extreme wide area con gurations and in the absence of optimizations, communication costs are only around 50 p ercent of total runtime. We exp ect optimizations such as message combining, optimized proto cols, and computation/communication overlap to reduce communication costs substantially. Hence, it app ears likely that distributed execution of Cactus applications will prove to b e practical. The second issue we examine here is remote visualization and steering of the Cactus co de. It is common when p erforming remote visualization to transfer 3-D datasets from a simulation co de to a separate visualization co de that for example constructs isosurfaces. While simple and mo dular, this approach can result in excessive communication. The mo dular structure of the Cactus framework makes it relatively easy to construct an isosurface mo dule that p erforms isosurfacing op erations on the same pro cessors as the simulation. Exp eriments with realistic astrophysics applications demonstrate that this technique can reduces bandwidth requirements asso ciated with visualization by a factor that ranges from 2.5 to 114, dep ending on the complexity of the data b eing visualized. This p erformance improvement and the availability of high-p erformance wide area networks has allowed scientists in the United States to p erform real-time visualization and steering of large Cactus calculations running in Germany. The next section describ es the Cactus framework. Section 3 describ es the Globus to olkit, Section 4 describ es our exp eriences and results, and Section 5 contains our conclusions. 2 Cactus Cactus [1] is a mo dular framework for creating p ortable parallel nite-di erence simulation co des. The Cactus co de's primary application has b een solving Einstein's equations of gravity[4], including studies involving black holes [5], self-gravitating elds [16], and relativistic hydro dynamics such as the coalescence of two neutron stars NASA Neutron Star Grand Challenge Pro ject [2]. The Cactus co de was originally develop ed at the Max- Planck-Institut for Gravitational Physics Alb ert-Einstein-Insti tut in Potsdam, Germany, byPaul Walker and Joan Mass o. Since then, development of Cactus has b een taken over by a community of Cactus users, particularly at Washington UniversityinSt. Louis in collab oration with the Computational Relativity Group at AEI-Potsdam. The most recent versions of Cactus are completely generalized so it can b e reused to supp ort wider range of simulation problems. Cactus has b een designed from the start to supp ort the development e orts of many 3 programmers working on indep endent pro jects by making heavy use of the CVS co de revision system and a very mo dular system for adding simulation capabilities. The mo dules that plug into Cactus are commonly referred to as \thorns." Parallelism and p ortability are achieved by hiding MPI, the I/O subsystem, and the calling interface under a simple abstraction API. Cactus allows mo dules to b e written completely natively in either C or f77/f90. This makes it considerably easier for physicists to turn existing co des the ma jority of which are implemented in Fortran into mo dules thorns that plug into the Cactus framework. All of the b ene ts of a mo dern simulation co de are available without requiring ma jor technique changes for the programmers. The Cactus user community spans the glob e, with users in the United States, Germany, Spain, and Hong Kong. Similarly, the computational resources that the Cactus users would like access to are also widely distributed. Managing remote data p oses one of the most dicult challenges to using distant resources. It can take longer to transfer the data that results from a simulation than to actually run the simulation co de. For the largest problems, the computational resources needed to visualize the resulting data may b e nearly as large as sup ercomputer that was originally used to create the data. In order to meet these challenges, researchers at NCSA and the Rechenzentrum der MPG at Garching Germany [3] created a remote visualization thorn that do es the visualization computations in-line with the co de and can b e steered by using a remote client application. This allows the visualization computations to run with the same degree of parallelism as the simulation co des, resulting in exceptionally fast p erformance. The geometric information is sent via a network so cket to a visualization client application, which runs on a display device such as an ImmersaDesk. The geometry data generally requires considerably less network bandwidth than do es the raw data. The user can control various visualization parameters such as the isosurface level from the visualization client. In addition, selected simulation parameters can b e controlled by the client so that the simulation can b e steered as it pro ceeds. 3 Globus The sup ercomputing resources available to Cactus users have di erent resource reservation pro cedures, data storage systems, security requirements, and programming environments. The Globus system provides a single set of to ols to bring control of these worldwide distributed resources to each user's desktop. Globus consists of a core set of low-level services up on which higher-level services are constructed. The low-level services used in this work are services for authentication, information distribution, resource management, and access to remote data. The Globus Security Infrastructure GSI provides authentication based on public key cryptography. Once a user has b een authenticated to Globus, he is then automatically authenticated to all lo cal administrative domains that have installed Globus and that the user has access to. This is accomplished by mapping Globus credentials to lo cal credentials through a security gateway. The Metacomputing Directory Service [7] MDS provides a logically centralized place to store information ab out entities.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    11 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us