Take a Look at This: Visualizations for Simulation Results ... · ORNL is managed by UT-Battelle...

27
ORNL is managed by UT-Battelle for the US Department of Energy Take a Look at This: Visualizations for Simulation Results in Eclipse Taylor Patterson Research Associate Oak Ridge National Laboratory [email protected] @TCPatt Jay Jay Billings Research Staff, Project Lead Oak Ridge National Laboratory [email protected] @jayjaybillings +jayjaybillings EclipseCon Europe 2014 Ludwigsburg, Germany 2014-10-30

Transcript of Take a Look at This: Visualizations for Simulation Results ... · ORNL is managed by UT-Battelle...

ORNL is managed by UT-Battelle for the US Department of Energy

Take a Look at This: Visualizations for Simulation Results in Eclipse

Taylor Patterson Research Associate Oak Ridge National Laboratory [email protected] @TCPatt

Jay Jay Billings Research Staff, Project Lead Oak Ridge National Laboratory [email protected] @jayjaybillings +jayjaybillings

EclipseCon Europe 2014 Ludwigsburg, Germany 2014-10-30

2 Take a Look at This: Visualizations for Simulation Results in Eclipse

Outline

• Eclipse ICE (NiCE) • VisIt visualization tool • Live demonstration • The details

niceproject.sourceforge.net

Sourceforge.net YouTube

youtube.com/jayjaybillings

Open HUB

openhub.net/p/niceproject

3 Take a Look at This: Visualizations for Simulation Results in Eclipse

What is Eclipse ICE?

4 Take a Look at This: Visualizations for Simulation Results in Eclipse

What is Eclipse ICE?

5 Take a Look at This: Visualizations for Simulation Results in Eclipse

Standard Model of Scientific Computing

All users must do these things...

Write an input file in a format reminiscent of a dead language

Define the Problem

Manually launch jobs on impressively terrifying machines

Run the Simulator

Analyze simulation output in its most raw and unlimited form

Analyze Output

Store data... somewhere!

Archive Output

Super-users think these are easy tasks, but most users are overwhelmed!

6 Take a Look at This: Visualizations for Simulation Results in Eclipse

A ICE Model of Scientific Computing

It would be better to have a computer program handle all of that...

Define the Problem

Run the Simulator

Analyze Output

Archive Output

User

Most of the stuff we need to do can be encapsulated for ease of use and/or automated entirely with improvements.

7 Take a Look at This: Visualizations for Simulation Results in Eclipse

A ICE Model of Scientific Computing Define the Problem

Run the Simulator

Analyze Output

Archive Output

User

VisIt provides the tools for generating 2D and 3D visualizations

8 Take a Look at This: Visualizations for Simulation Results in Eclipse

What is VisIt?

“… an open source, interactive, scalable, visualization, animation and analysis tool.” “… a distributed, parallel visualization and graphical analysis tool for data defined on 2D and 3D meshes.” “… originally developed… to visualize and analyze the results of terascale simulations… [but] has also proven to be well suited for visualizing smaller scale data...” “… capabable of visualizing data from over 120 different scientific data formats.”

Credit: Quotes and images from VisIt Development Team website (https://wci.llnl.gov/simulation/computer-codes/visit)

9 Take a Look at This: Visualizations for Simulation Results in Eclipse

Why include VisIt in ICE?

Simulation requires

3D visualization

All-in-one approach

Familiar UI

Users of ICE also

using VisIt

10 Take a Look at This: Visualizations for Simulation Results in Eclipse

Live Demonstration

11 Take a Look at This: Visualizations for Simulation Results in Eclipse

Features – Connections

Remote launch and rendering

12 Take a Look at This: Visualizations for Simulation Results in Eclipse

Features – Connections

13 Take a Look at This: Visualizations for Simulation Results in Eclipse

Features – Connections

Collaborative analysis

14 Take a Look at This: Visualizations for Simulation Results in Eclipse

Features – Connections

Single install capability

15 Take a Look at This: Visualizations for Simulation Results in Eclipse

System Components

VisIt Java Client VisIt Application Eclipse ICE

User input

Results as JSON

Maintain connection Input as JSON

Rendered image File information

16 Take a Look at This: Visualizations for Simulation Results in Eclipse

https://wci.llnl.gov/simulation/computer-codes/visit/source

(no public repo)

System Components

Eclipse ICE

VisIt Java Client

VisIt Application

Binary distribution Source location

ICE executable

VisIt executable (contact us)

http://svn.code.sf.net/p/niceproject/code/trunk

https://github.com/visit-vis/visit_java_client.git

17 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Perspective

18 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Perspective

19 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Perspective

20 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Viewers

21 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Viewers

Data provided by ICE

Data provided by VisIt

ViewPart subclasses with JFace

TreeViewers

22 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Viewers

Data provided by VisIt

Subclass of CheckedTreeSelectionDialog

23 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Editor

24 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Editor

SWT Canvas subclass in an EditorPart subclass

SWT Image created from a

ByteArrayInputStream Canvas mouse listeners an

atomic positions for daemon thread

25 Take a Look at This: Visualizations for Simulation Results in Eclipse

ICE Components – Python Interface

Immediate exposure of VisIt’s rich Python API

Save a collection of operations and

execute with only a few clicks Automate frequently executed analysis

workflows Temporary dialog, moving to Console

26 Take a Look at This: Visualizations for Simulation Results in Eclipse

Future Work

•  Time slider for files with time-varying data

•  Capabilities added to workbench

•  ICE moving to Eclipse 4

•  ICE initial contribution review complete, starting migration next week

•  Increase users and further collaboration with Science IWG

•  Deeper discussion of collaborative analysis at EclipseCon NA 2015

27 Take a Look at This: Visualizations for Simulation Results in Eclipse

Questions?

Additional Authors: Jordan H. Deyton, Hari Krishnan, Alexander J. McCaskey, Anna Wojtowicz Author Email: [email protected], [email protected]

niceproject.sourceforge.net

Sourceforge.net YouTube

youtube.com/jayjaybillings

Open HUB

openhub.net/p/niceproject