A Steering Environment for Online Parallel Visualization of Legacy Parallel Simulations



Similar documents
Facts about Visualization Pipelines, applicable to VisIt and ParaView

Equalizer. Parallel OpenGL Application Framework. Stefan Eilemann, Eyescale Software GmbH

The Design and Implement of Ultra-scale Data Parallel. In-situ Visualization System

Software Tools for Parallel Coupled Simulations

A Chromium Based Viewer for CUMULVS

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, Julien Jomier

Distributed Visualization Parallel Visualization Large data volumes

NVIDIA IndeX. Whitepaper. Document version June 2013

Using open source and commercial visualization packages for analysis and visualization of large simulation dataset

NVIDIA IndeX Enabling Interactive and Scalable Visualization for Large Data Marc Nienhaus, NVIDIA IndeX Engineering Manager and Chief Architect

BSC vision on Big Data and extreme scale computing

DIY Parallel Data Analysis

Collaborative modelling and concurrent scientific data analysis:

Large Scale Data Visualization and Rendering: Scalable Rendering

A Hybrid Visualization System for Molecular Models

How To Monitor Performance On A Microsoft Powerbook (Powerbook) On A Network (Powerbus) On An Uniden (Powergen) With A Microsatellite) On The Microsonde (Powerstation) On Your Computer (Power

Visualization with ParaView. Greg Johnson

Scientific Visualization with Open Source Tools. HM 2014 Julien Jomier

VisIVO, a VO-Enabled tool for Scientific Visualization and Data Analysis: Overview and Demo

Hadoop. Sunday, November 25, 12

Parallel Visualization for GIS Applications

James Ahrens, Berk Geveci, Charles Law. Technical Report

Proceedings of the Federated Conference on Computer Science and Information Systems pp

Visualization with ParaView

Parallel Large-Scale Visualization

Unstructured Data Accelerator (UDA) Author: Motti Beck, Mellanox Technologies Date: March 27, 2012

CHAPTER FIVE RESULT ANALYSIS

The Fastest Way to Parallel Programming for Multicore, Clusters, Supercomputers and the Cloud.

In-situ Visualization: State-of-the-art and Some Use Cases

Cluster, Grid, Cloud Concepts

ParFUM: A Parallel Framework for Unstructured Meshes. Aaron Becker, Isaac Dooley, Terry Wilmarth, Sayantan Chakravorty Charm++ Workshop 2008

Multi-GPU Load Balancing for Simulation and Rendering

A SURVEY ON MAPREDUCE IN CLOUD COMPUTING

The Visualization Pipeline

Remote Graphical Visualization of Large Interactive Spatial Data

Simplest Scalable Architecture

In-situ Visualization

Software Development around a Millisecond

Chapter 4 Cloud Computing Applications and Paradigms. Cloud Computing: Theory and Practice. 1

Parallel Visualization of Petascale Simulation Results from GROMACS, NAMD and CP2K on IBM Blue Gene/P using VisIt Visualization Toolkit

Introduction to DISC and Hadoop

End-user Tools for Application Performance Analysis Using Hardware Counters

Titolo del paragrafo. Titolo del documento - Sottotitolo documento The Benefits of Pushing Real-Time Market Data via a Web Infrastructure

Enterprise HPC & Cloud Computing for Engineering Simulation. Barbara Hutchings Director, Strategic Partnerships ANSYS, Inc.

Visualization of Adaptive Mesh Refinement Data with VisIt

The Complete Performance Solution for Microsoft SQL Server

Denis Caromel, CEO Ac.veEon. Orchestrate and Accelerate Applica.ons. Open Source Cloud Solu.ons Hybrid Cloud: Private with Burst Capacity

BlobSeer: Enabling Efficient Lock-Free, Versioning-Based Storage for Massive Data under Heavy Access Concurrency

Parallel Analysis and Visualization on Cray Compute Node Linux

RevoScaleR Speed and Scalability

Big Data Processing with Google s MapReduce. Alexandru Costan

HPC technology and future architecture

Who is Dale? Today s Topics. Vis Basics Big Data. Vis Basics The Four Paradigms. Ancient History IRIX-based Vis Systems

Load Balancing MPI Algorithm for High Throughput Applications

Arcane/ArcGeoSim, a software framework for geosciences simulation

Visualization Infrastructure and Services at the MPCDF

Data Management/Visualization on the Grid at PPPL. Scott A. Klasky Stephane Ethier Ravi Samtaney

Parallel Databases. Parallel Architectures. Parallelism Terminology 1/4/2015. Increase performance by performing operations in parallel

Designing and Building Applications for Extreme Scale Systems CS598 William Gropp

SCADA/HMI MOVICON TRAINING COURSE PROGRAM

P013 INTRODUCING A NEW GENERATION OF RESERVOIR SIMULATION SOFTWARE

A Parallel Server for Adaptive Geoinformation

How To Share Rendering Load In A Computer Graphics System

A Dynamic Load-Balancing Approach for Efficient Remote Interactive Visualization

In situ data analysis and I/O acceleration of FLASH astrophysics simulation on leadership-class system using GLEAN

HPC Deployment of OpenFOAM in an Industrial Setting

IDL. Get the answers you need from your data. IDL

Big Data Visualization on the MIC

Overlapping Data Transfer With Application Execution on Clusters

A Comparison of Distributed Systems: ChorusOS and Amoeba

Distributed communication-aware load balancing with TreeMatch in Charm++

Petascale Visualization: Approaches and Initial Results

Visualisatie BMT. Introduction, visualization, visualization pipeline. Arjan Kok Huub van de Wetering

Large-Data Software Defined Visualization on CPUs

Base One's Rich Client Architecture

Manjrasoft Market Oriented Cloud Computing Platform

GSiB: PSE Infrastructure for Dynamic Service-oriented Grid Applications

Manjrasoft Market Oriented Cloud Computing Platform

UIMA and WebContent: Complementary Frameworks for Building Semantic Web Applications

The Murchison Widefield Array Data Archive System. Chen Wu Int l Centre for Radio Astronomy Research The University of Western Australia

Recent Advances in Periscope for Performance Analysis and Tuning

Seed4C: A High-security project for Cloud Infrastructure

VisIt Visualization Tool

Realization of Inventory Databases and Object-Relational Mapping for the Common Information Model

Performance technology for parallel and distributed component software

HPC & Visualization. Visualization and High-Performance Computing

Hadoop: A Framework for Data- Intensive Distributed Computing. CS561-Spring 2012 WPI, Mohamed Y. Eltabakh

IS-ENES/PrACE Meeting EC-EARTH 3. A High-resolution Configuration

irods and Metadata survey Version 0.1 Date March Abhijeet Kodgire 25th

Provisioning and Resource Management at Large Scale (Kadeploy and OAR)

Big Data Management in the Clouds and HPC Systems

In this chapter, we consider the role of commodity off-the-shelf software

Building an energy dashboard. Energy measurement and visualization in current HPC systems

Basin simulation for complex geological settings

Performance Evaluation of the XDEM framework on the OpenStack Cloud Computing Middleware

STUDY AND SIMULATION OF A DISTRIBUTED REAL-TIME FAULT-TOLERANCE WEB MONITORING SYSTEM

VisIVO, an open source, interoperable visualization tool for the Virtual Observatory

Making Multicore Work and Measuring its Benefits. Markus Levy, president EEMBC and Multicore Association

Big Data With Hadoop

Management & Analysis of Big Data in Zenith Team

Transcription:

A Steering Environment for Online Parallel Visualization of Legacy Parallel Simulations Aurélien Esnard, Nicolas Richart and Olivier Coulaud ACI GRID (French Ministry of Research Initiative) ScAlApplix Project at INRIA Futurs LaBRI and University of Bordeaux 1 DS-RT 2006 Torremolinos, Malaga, Spain. October 2-4, 2006. Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 1 / 24

Outline 1 Introduction Computational Steering Related Works 2 The Framework Overview & Architecture Redistribution Algorithm for Unstructured Data Online Parallel Visualization with 3 Results Case Study: The Gadget2 Cosmological Simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 2 / 24

Outline 1 Introduction Computational Steering Related Works 2 The Framework Overview & Architecture Redistribution Algorithm for Unstructured Data Online Parallel Visualization with 3 Results Case Study: The Gadget2 Cosmological Simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 3 / 24

Numerical Simulations and Computational Steering Visualization as post-processing step (batch mode) tedious, lack of control over the in-progress computations Computational steering as a more interactive approach coupling simulation and visualization through the network Online visualization of intermediate results (monitoring) Change simulation parameters or data on-the-fly (steering) Steering Network Parallel Simulation (M processes) Visualization Monitoring Drive the simulation more rapidly in the right-direction Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 4 / 24

M N Computational Steering Online visualization requires performance process large and complex datasets, display results with high-resolution,... To avoid the bottleneck of sequential visualization idea: use of parallelism for both the simulation (M) and the visualization (N) An attractive approach both in terms of cost and performance parallel visualization and parallel rendering with a PC-based graphics cluster Steering 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 Parallel Simulation (M processes) Network Data Redistribution Parallel Visualization (N processes) It raises the difficult problem of parallel data redistribution... Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 5 / 24

Outline 1 Introduction Computational Steering Related Works 2 The Framework Overview & Architecture Redistribution Algorithm for Unstructured Data Online Parallel Visualization with 3 Results Case Study: The Gadget2 Cosmological Simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 6 / 24

Related Works Most of steering environments (CUMULVS, DAQV,...) support parallel simulations (shared-memory, distributed-memory) but only with sequential visualization systems Some recent works gviz: distributed modules (simulation, visualization, rendering) visualization and rendering modules are still sequential SCIRun/Uintah PSE: parallel visualization module but only running in shared-memory (no redistribution problem) Our steering environment, Steering of parallel simulations with parallel visualization tools in distributed-memory (M N computational steering) Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 7 / 24

Outline 1 Introduction Computational Steering Related Works 2 The Framework Overview & Architecture Redistribution Algorithm for Unstructured Data Online Parallel Visualization with 3 Results Case Study: The Gadget2 Cosmological Simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 8 / 24

Overview of the Framework A software environment for M N computational steering Legacy parallel simulations (C, C++ or Fortran) Sequential or parallel visualization program Integration of legacy simulations Source-code annotations with the back-end API Abstract model to describe the simulation Description of its control-flow: Hierarchical Task Model (HTM) Description of its data: complex objects (grids, particles, meshes) This model intends to clarify where, when and how one can safely interact with the simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 9 / 24

CORBA CORBA Architecture of the Framework Client/server relationship (simulation = server ; visualization = client) Dynamic and distributed infrastructure several clients can connect and disconnect a remote simulation on-the-fly Communication infrastructure based on CORBA CORBA server running on each node + proxy Steering of the simulation is based on requests sent by clients control (play, pause), data access (get, put), action parallel visualization external communication layer (MPI, PVM,...) Q0 Q1 Q2 Q3 process PROXY thread request parallel data transfer MxN redistribution PROXY data XML HTM P0 P1 P8 P9 parallel simulation external communication layer (MPI, PVM,...) Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 10 / 24

Architecture of the Framework parallel visualization external communication layer (MPI, PVM,...) Q0 Q1 Q2 Q3 process PROXY thread CORBA request parallel data transfer MxN redistribution CORBA PROXY data XML HTM P0 P1 P8 P9 parallel simulation external communication layer (MPI, PVM,...) Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 10 / 24

Simone (Simulation Monitoring Interface for ) A generic user interface for to easily interact with your simulation Request Panel (Control and Data Access) Data Sheet List of Simulation Data Hierarchical Task Model Visualisation Plugins List of Connected Simulations Current Date Simone connected to the Parallel Ocean Program (POP) of the LANL Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 11 / 24

Outline 1 Introduction Computational Steering Related Works 2 The Framework Overview & Architecture Redistribution Algorithm for Unstructured Data Online Parallel Visualization with 3 Results Case Study: The Gadget2 Cosmological Simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 12 / 24

Redistribution Layer: Placement Approach A redistribution algorithm that is well adapted to the context of M N computational steering M N, different data distributions between codes Data distribution not initially defined on the visualization side The redistribution layer can choose it at run-time in the best way Placement problem of the simulation elements to the N visualization processes Message generation requires to define a split operator for the object you consider Code A (M = 4) Code B (N = 2) (a) Simple Case Code A (M = 4) Code B (N = 3) (b) More Complex Case A very generic approach that is used by for different kinds of objects (structured grids, particles, unstructured meshes) Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 13 / 24

Outline 1 Introduction Computational Steering Related Works 2 The Framework Overview & Architecture Redistribution Algorithm for Unstructured Data Online Parallel Visualization with 3 Results Case Study: The Gadget2 Cosmological Simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 14 / 24

Preliminary Notions about Visualization The classical visualization pipeline Data Source Filters Mapper Renderer File Display Parallel visualization the pipeline is fully replicated on each node of the graphics cluster and data are distributed on these nodes Parallel rendering techniques enable to combine the capabilities of several graphics cards to produce the final image (e.g. sort-last algorithm) Node 0 Node 1 Image Composition Node 2 Node 3 Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 15 / 24

Online Parallel Visualization with The different steps required to perform online parallel visualization with : Data reception by sources (step 1) Pipeline update request (steps 2-3) Parallel rendering (step 4), image composition (step 5) and display (step 6) Acknowledgement of the simulation to signal the image update (steps 7-8) Simulation Proxy (7) Post Ack (2) Pre Ack VTK communication layer (MPI) VTK pipeline in process memory communication layer (CORBA) Parallel Viewer Proxy (6) Display Loop Loop (8) Ack Loop Loop Loop Loop Loop Loop task1 task2 task3 (4) Render Visualization pipeline Visualization pipeline Source Filters Mapper Renderer Source Filters Mapper Renderer Visualization pipeline Source Filters Mapper Renderer Visualization pipeline Source Filters Mapper Renderer (1) Data Reception (3) Update (5) Composition Parallel Simulation Parallel Viewer Tiled Display Wall Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 16 / 24

The Software framework 2 libraries: simulation side & visualization side Written in C++ (bindings for C/Fortran codes) OmniORB4: high-performance implementation of CORBA The redistribution layer is packaged in an independant library called RedGRID Parallel viewer Parallel visualization based on VTK (Visualization ToolKit) Parallel rendering on TDW thanks to Ice-T library developed at Sandia RedGRID and are available at INRIA Gforge (LGPL) redgrid.gforge.inria.fr epsn.gforge.inria.fr, www.labri.fr/epsn Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 17 / 24

Outline 1 Introduction Computational Steering Related Works 2 The Framework Overview & Architecture Redistribution Algorithm for Unstructured Data Online Parallel Visualization with 3 Results Case Study: The Gadget2 Cosmological Simulation Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 18 / 24

Case Study: The Gadget2 Cosmological Simulation Parallel legacy code written in C and using MPI (Message Passing Interface) Developed by V. Springel at Max-Plank Institute of Astrophysics Simulates birth of a galaxy that collapses gravitationally until a central shock Galaxy represented by a gas cloud (1,000,000 particles distributed on 60 processes for our test case) Astrophysicists want to visualize the evolution of the galaxy in 3D Representation of the Gadget2 simulation in. Online parallel visualization on tiled-display wall. Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 19 / 24

Case Study: The Gadget2 Cosmological Simulation Gadget2 average time for simulation computations, data transfer and visualization (in ms/iteration) No overhead for the simulation with, without visualization Huge overhead in the sequential visualization case (+21%) Very small overhead in the parallel visualization case (+2%) Huge overhead for higher global resolution (network bandwidth not adapted!) M N S Global Transfert Visualiz. Simulation Time Resolution Time Time Total Overhead 60 2150 60 1 1 1600 1200 140 1160 2600 +21% 60 4 1 1600 1200 91 620 2180 +1.4% 60 4 4 1600 1200 91 500 2155 +0.2% 60 4 4 3200 2400 90 1300 2670 +24% M = number of simulation processes; N = number of visualization processes; S = number of screens. Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 20 / 24

Conclusion A modern approach for M N computational steering Parallel visualization and rendering techniques Redistribution algorithms based on a placement approach well adpated for computational steering Validation with a real-life simulation in astrophysics (Gadget2) In future works Integration of our solution in a high-level visualization system like Paraview Redistribution of more complex objects (multi-level grids, AMR,...) Steering of parallel-distributed simulations (e.g. multi-physics) Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 21 / 24

Outline 4 Appendix Performance of the Framework Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 22 / 24

Overlapping of the Steering Overhead 180 170 160 simulation (100 ms) overlapping 0% overlapping 30% overlapping 50% overlapping 90%) overlapping 100% 150 time (ms/iter) 140 130 120 110 100 90 1 10 100 1000 10000 size (KB) Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 23 / 24

Redistribution and Parallel Data Flow aggregate bandwidth (MB/s) 800 700 600 500 400 300 200 1x1 2x2 4x4 16x4 8x8 8x7 100 0 10 100 1000 10000 1 size (KB) Esnard, Richard, Coulaud (LaBRI, France) M N Computational Steering DS-RT 2006 24 / 24