in situ visualization using visit
play

In Situ Visualization using VisIt Brad Whitlock Jean M. Favre - PowerPoint PPT Presentation

LLNLPRES477655 Lawrence Livermore National Laboratory In Situ Visualization using VisIt Brad Whitlock Jean M. Favre Jeremy S. Meredith Lawrence Livermore National Laboratory Swiss National Supercomputing Centre Oak Ridge National


  1. LLNL‐PRES‐477655 Lawrence Livermore National Laboratory In Situ Visualization using VisIt Brad Whitlock Jean M. Favre Jeremy S. Meredith Lawrence Livermore National Laboratory Swiss National Supercomputing Centre Oak Ridge National Laboratory This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  2. LLNL‐PRES‐477655 What We’re Doing  We have created a library that lets simulations interface to a fully featured parallel visualization system • One goal is to avoid the high costs of I/O associated with writing and then reading the data • Another goal is to interactively explore data  We have used our library to instrument a parallel cosmology code to investigate some of its performance aspects compared to doing I/O Lawrence Livermore National Laboratory 2 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  3. LLNL‐PRES‐477655 Case For Using In Situ Machine Year Writable Whole-System FLOPS Checkpoint  I/O in supercomputers has ASCI Red 1997 0.075% 300 sec not kept pace with compute power ASCI Blue 1998 0.041% 400 sec Pacific  Some applications report ASCI White 2001 0.026% 480 sec 90% of time spent in I/O [Peterka et al.] ASCI Red 2005 0.035% 660 sec Storm  Post processing simulation ASCI Purple 2005 0.025% 500 sec files requires write then read, paying for I/O twice NCCS XT4 2007 0.004% 1400 sec in different application Roadrunner 2008 0.005% 480 sec  In Situ may let us avoid NCCS XT5 2008 0.005% 1250 sec some I/O ASC 2012 0.001% 3200 sec (planned) Sequoia Lawrence Livermore National Laboratory 3 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  4. LLNL‐PRES‐477655 A Marriage Between Two Fairly Inflexible Partners… Our library enables a general purpose visualization tool to be flexibly coupled with a simulation. Layer Visualization and In Analysis Simulation Between Application Lawrence Livermore National Laboratory 4 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  5. LLNL‐PRES‐477655 In Situ Processing Strategies We find 3 main strategies for in situ processing: In Situ Strategy Description Negative Aspects Loosely coupled Visualization and analysis run on 1) Data movement costs concurrent resources and access 2) Requires separate resources data over network Tightly coupled Visualization and analysis have 1) Very memory constrained direct access to memory of 2) Large potential impact simulation code (performance, crashes) Hybrid Data is reduced in a tightly coupled 1) Complex setting and sent to a concurrent 2) Shares negative aspects (to a resource lesser extent) of others Lawrence Livermore National Laboratory 5 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  6. LLNL‐PRES‐477655 Loosely Coupled In Situ Processing  I/O layer stages data into Simulation secondary memory buffers, possibly on other data compute nodes I/O Layer  Visualization applications access the buffers and obtain data Possible network boundary  Separates visualization Visualization tool processing from Memory buffer simulation processing read data  Copies and moves data Lawrence Livermore National Laboratory 6 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  7. LLNL‐PRES‐477655 Tightly Coupled Custom In Situ Processing Simulation  Custom visualization routines are developed specifically for the data simulation and are called as subroutines Visualization • Create best visual Routines representation • Optimized for data layout images, etc  Tendency to concentrate on very specific visualization scenarios  Write once, use once Lawrence Livermore National Laboratory 7 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  8. LLNL‐PRES‐477655 Tightly Coupled General In Situ Processing Simulation  Simulation uses data adapter layer to make data suitable for data general purpose visualization library Data Adapter  Rich feature set can be called by the simulation General Visualization Library  Operate directly on the simulation’s data arrays when images, etc possible  Write once, use many times Lawrence Livermore National Laboratory 8 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  9. LLNL‐PRES‐477655 Which Strategy is Appropriate? There have been many excellent solutions in this space. Different circumstances often merit different solutions. Tightly Loosely Hybrid Coupled Coupled ✖ Custom ✖ ✖ ✖ General Lawrence Livermore National Laboratory 9 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  10. LLNL‐PRES‐477655 Design Philosophy  Visualization and analysis will be done in the same memory space as the simulation on native data to avoid duplication  Maximize features and capabilities  Minimize code modifications to simulations  Minimize impact to simulation codes  Allow users to start an in situ session on demand instead of deciding before running a simulation • Emphasis on interactive exploration • Debugging • Computational steering Lawrence Livermore National Laboratory 10 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  11. LLNL‐PRES‐477655 Selecting an In Situ Strategy  Our strategy is tightly coupled, yet general  Fully featured visualization code connects interactively to running simulation • Allows live exploration of data for when we don’t know visualization setup a priori • Opportunities for steering  We chose VisIt as the visualization code • VisIt runs on several HPC platforms • VisIt has been used at many levels of concurrency • We know how to develop for VisIt Lawrence Livermore National Laboratory 11 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  12. LLNL‐PRES‐477655 Visualization Tool Architecture  Clients runs locally and display  Server runs remotely in parallel, results computed on the server handling data processing for client Local VisIt Clients Parallel Cluster Files Vis Data Server Data
 Plugin network connection Vis MPI Data Data
 Server Plugin Vis Data
 Data Server Plugin Data processed in data flow  networks Vis Server Filter 
 Data Flow  Filters in data flow networks can Network be implemented as plug-ins Filter 
 Filter 
 Lawrence Livermore National Laboratory 12 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  13. Coordination Among Filters Using LLNL‐PRES‐477655 Contracts data Source 
 Execute Contract 1 Update Filter 
 Contract 0 Filter 
 Lawrence Livermore National Laboratory 13 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  14. LLNL‐PRES‐477655 Coupling of Simulations and VisIt  We created Libsim, a library that simulations use to let VisIt connect and access their data Libsim Libsim Source 
 Front End Front End Runtime Libsim Simulation Filter 
 Data Data Access Access Data Filter 
 Code Code Lawrence Livermore National Laboratory 14 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

  15. LLNL‐PRES‐477655 Libsim Implements Tight Coupling  Front end library controls access and plotting  Data requested on demand through user-supplied Data Access Code callback functions  Data shared via pointers  Ported to Linux, Windows, and MacOS X  Distributed in every version of VisIt Parallel Cluster Local VisIt Clients Simulation Code Data
 Front Libsim Data Access end network connection Runtime Code Optional MPI Simulation Code Data
 VisIt Client Front Libsim Data Access end Runtime Code Simulation Code Data
 Libsim Front Data Access end Runtime Code Save image Lawrence Livermore National Laboratory 15 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

Recommend


More recommend