Advanced Scientific Visualization Laboratory Paul Navrátil 28 May 2009.

Slides:



Advertisements
Similar presentations
Secure File Transfer Protocol (SFTP) With Secure Copy (SC) What is a Secure File Transfer Protocol with Secure Copy???
Advertisements

Client-server practices DSC340 Mike Pangburn. Agenda Overview of client-server development Editing on client (e.g., Notepad) or directly on server (e.g.,
Parallel Visualization At TACC Greg Abram. Visualization Problems Small problems: Data are small and easily moved Office machines and laptops are adequate.
ParaView Tutorial Greg Johnson, Karla Vega. Before we begin… Make sure you have ParaView installed so you can follow along in the lab section –
DSL-2870B How to Change ADSL Username and Password in your modem router How to Change Wireless Channel in your modem router How to Open Ports in your modem.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Advanced Scientific Visualization Paul Navrátil 28 May 2009.
Sun Grid Engine Grid Computing Assignment – Fall 2005 James Ruff Senior Department of Mathematics and Computer Science Western Carolina University.
MZ790 Print Driver and RINC Software Install and Setup These instructions are to assist you in installation and setup of the MZ790 Print Driver and RINC.
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
Agenda What is Computer Programming? The Programming Process
ITCS 6/8010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Jan 22, 2011assignprelim.1 Assignment Preliminaries ITCS 6010/8010 Spring 2011.
Introduction to UNIX/Linux Exercises Dan Stanzione.
Java Programming, 2E Introductory Concepts and Techniques Chapter 2 Creating a Java Application and Applet.
Project Overview:. Longhorn Project Overview Project Program: –NSF XD Vis Purpose: –Provide remote interactive visualization and data analysis services.
Visualization Linda Fellingham, Ph. D Manager, Visualization and Graphics Sun Microsystems Shared Visualization 1.1 Software Scalable Visualization 1.1.
Configuring the MagicInfo Pro Display
EnSight analyze, visualize, communicate EnSight 6.x Advanced Training Part 1 Instructors: Mike Krogh, Anders Grimsrud.
Customized cloud platform for computing on your terms !
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
Visualization as a Science Discovery Tool Issues and Concerns Kelly Gaither Director of Visualization/ Sr. Research Scientist Texas Advanced Computing.
1 Managing Printers (Week 12, Monday 3/26/2007) © Abdou Illia, Spring 2007.
Introduction to HPC resources for BCB 660 Nirav Merchant
Introduction to the HPCC Jim Leikert System Administrator High Performance Computing Center.
Background - hardware User interface devices to system –Mainframe Text mode only Command-line (text mode) interface “Some” menus available (NOT a GUI)
Introduction to the HPCC Dirk Colbry Research Specialist Institute for Cyber Enabled Research.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
17-April-2007 High Performance Computing Basics April 17, 2007 Dr. David J. Haglin.
BSP on the Origin2000 Lab for the course: Seminar in Scientific Computing with BSP Dr. Anne Weill –
XWN740 X-Windows Configuring and Using Using VNC (Chapter 14: Pages )‏
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
APST Internals Sathish Vadhiyar. apstd daemon should be started on the local resource Opens a port to listen for apst client requests Runs on the host.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
Monitor your child’s attendance Monitor your child’s behaviour View your child’s school timetable View when homework has been set for your child Download.
CHAPTER 3 (P.49-53) Importing modules + pygame intro.
Visualization with ParaView. Before we begin… Make sure you have ParaView 3.14 installed so you can follow along in the lab section –
Using the Weizmann Cluster Nov Overview Weizmann Cluster Connection Basics Getting a Desktop View Working on cluster machines GPU For many more.
ISG We build general capability Introduction to Olympus Shawn T. Brown, PhD ISG MISSION 2.0 Lead Director of Public Health Applications Pittsburgh Supercomputing.
Creating a Java Application and Applet
Linux Operations and Administration
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
Remote & Collaborative Visualization. TACC Remote Visualization Systems Longhorn – Dell XD Visualization Cluster –256 nodes, each with 48 GB (or 144 GB)
CS 283Computer Networks Spring 2013 Instructor: Yuan Xue.
Debugging Lab Antonio Gómez-Iglesias Texas Advanced Computing Center.
+ Vieques and Your Computer Dan Malmer & Joey Azofeifa.
Geant4 GRID production Sangwan Kim, Vu Trong Hieu, AD At KISTI.
Portal X Watford Boys Grammar School. How To Get To Portal X: In the url tab, where it states learning. to get to “Portal X” you have to Remove Learning.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
The Characterisation Virtual Laboratory James Wettenhall Clayton Campus 20 th June 2012.
Advanced Computing Facility Introduction
BY: SALMAN 1.
Virtual Network Computing
Development Environment
BY: SALMAN.
Hillsborough Community College
Getting Started with R.
CSC/FAR 020, Computer Graphics, August 31, 2011
Parallel computation with R & Python on TACC HPC server
Deploying and Configuring SSIS Packages
Bomgar Remote support software
Week 1 Gates Introduction to Information Technology cosc 010 Week 1 Gates
Crawling with Heritrix
CCR Advanced Seminar: Running CPLEX Computations on the ISE Cluster
Advanced Computing Facility Introduction
CSC/FAR 020, Computer Graphics, August 26, 2013
Parallel computation with R & Python on TACC HPC server
EN Software Carpentry The Linux Kernel and Associated Operating Systems.
Presentation transcript:

Advanced Scientific Visualization Laboratory Paul Navrátil 28 May 2009

Topics Remote and Collaborative Visualization Remote Visualization on Spur Scripted Visualization with VisIt

Old Model (No Remote Capability) Local Visualization Resource Local Visualization Resource HPC System HPC System Data Archive Data Archive Pixels Mouse Display Remote Site Wide-Area Network Wide-Area Network Local Site

New Model Remote Capability Large-Scale Visualization Resource Large-Scale Visualization Resource HPC System HPC System Data Archive Data Archive Display Remote Site Wide-Area Network Wide-Area Network Local Site Pixels Mouse

New Model Multi-User and Collaborative Capability Large-Scale Visualization Resource Large-Scale Visualization Resource HPC System HPC System Data Archive Data Archive Wide-Area Network Wide-Area Network Local Site B Pixels Remote Site Mouse Pixels Mouse Display A Display B Local Site A

Spur - Visualization System 128 cores, 1 TB distributed memory, 32 GPUs spur.tacc.utexas.edu login node, no GPUs don’t run apps here! ivisbig.ranger Sun Fire X4600 server –8 AMD Opteron dual-core 3 GHz –256 GB memory –4 NVIDIA FX5600 GPUs ivis[1-7].ranger Sun Fire X4440 server –4 AMD Opteron quad-core 2.3 GHz –128 GB memory –4 NVIDIA FX5600 GPUs

Spur / Ranger topology spur login3.ranger Login Nodes login4.ranger Compute Nodes Vis nodes ivis[1-7|big] HPC nodes ixxx-xxx vis queue normal development queues File System $HOME $WORK $SCRATCH

Topics Remote and Collaborative Visualization Remote Visualization on Spur Scripted Visualization with VisIt

Starting a Remote Vis Job on Spur (Lab Exercise) Step 1: Download a vnc client, preferably with integrated compression Recommended options: TightVNC TurboVNC

Starting a Remote Vis Job on Spur (Lab Exercise) Step 2:

Starting a Remote Vis Job on Spur (Lab Exercise) Step 3: On Spur, set up your vnc password. This only needs to be done once vnc password shared across Spur and Ranger In your ssh, enter vncpasswd Select and verify password. NOTE: vnc passwords are NOT secure! 8 char limit (rest ignored) should NOT be your TACC password stored in ~/.vnc/passwd

Starting a Remote Vis Job on Spur (Lab Exercise) Step 4: Launch a vncserver job using SGE qsub /share/sge/default/pe_scripts/job.vnc touch ~/vncserver.out tail –f ~/vncserver.out qsub = sge submit command must specify account job.vnc = job script make local copy to modify acct, runtime, # proc Connection instructions written to ~/vncserver.out once job launches Use visq to monitor job status

Starting a Remote Vis Job on Spur (Lab Exercise) Step 5: Create ssh tunnel from your laptop to the vnc session ssh –f –N –L vnc communication is unencrypted so create ssh tunnel between your laptop and spur login : port assigned by vnc job : your username on spur Your vncviewer will connect to port on your laptop (localhost) ssh tunnel forwards connection to port on spur (login node) spur automatically forwards to port on vis node -f port forward only, no command -N background after connect -L forward local to remote machine:

Starting a Remote Vis Job on Spur (Lab Exercise) Step 6: Connect to that display by using a vnc client (1) (2) (3)

Starting a Remote Visualization Job on Maverick (Lab Exercise) Step 7: Type glxgears A common error – extension GLX missing! By default, your vnc session cannot access OpenGL or GPUs Any OpenGL-based application will encounter this issue

Starting a Remote Visualization Job on Maverick (Lab Exercise) Step 8: Type vglrun glxgears Accesses GPUs and OpenGL libs via VirtualGL VirtualGL captures framebuffer from GPU, forwards it to vnc session Use vglrun –d to specify which GPU to use ( –d :0.0 is default) vglrun –d :0.0 vglrun –d :0.1 vglrun –d :0.2 vglrun –d :0.3

Starting a Remote Vis Job on Spur (Lab Exercise) Step 9: Type ‘module avail’ in the xterm. This will tell you which programs are available to load and run. Some programs have module dependencies (e.g. many vis programs) Some programs are compiler and/or MPI-stack dependent

Topics Remote and Collaborative Visualization Remote Visualization on Spur Scripted Visualization with VisIt –Python Primer –Create Image using Python Script –Change View and Apply Operators –Fly Around Dataset

One-Slide Intro to Python def count_fingers(n): if (n < 0): print “How do you count negative fingers?!” elif (n > 10): print “I only have ten fingers!” else: for i in range(0,n): print “%d little piggy” % (i + 1)

Inspecting VisIt Python Classes >>> s = SaveWindowAttributes() >>> s outputToCurrentDirectory = 0 outputDirectory = "C:\Documents and Settings\pnav\My Documents\VisIt \My images" fileName = "visit" family = 1 format = TIFF # BMP, CURVE, JPEG, OBJ, PNG, POSTSCRIPT, POVRAY, PPM, RGB, STL, TIFF, ULTRA, VTK width = 1024 height = 1024 screenCapture = 0 saveTiled = 0 quality = 80 progressive = 0 binary = 0 stereo = 0 compression = PackBits # None, PackBits, Jpeg, Deflate forceMerge = 0 resConstraint = ScreenProportions # NoConstraint, EqualWidthHeight, ScreenProportions >>> s.format = s.PNG >>> s.width, s.height = (1600, 1200) >>> SetSaveWindowAttributes(s)

Basic VisIt Classes and Functions OpenDatabase( “ ” ) AddPlot( “ ” ) pa = Attributes() SetPlotOptions( pa ) AddOperator( “ ” ) oa = Attributes() SetOperatorOptions( oa ) DrawPlots() –once invoked, all commands that change plot will update plot automatically s = SaveWindowAttributes() SetSaveWindowAttributes( s ) SaveWindow() view = GetView3D() SetView3D( view ) DeleteAllPlots() Full Interface description at:

Function to Change View Axis def change_view(normal, up, nsteps=10, start=0): c0 = GetView3D() c1 = GetView3D() c1.viewNormal = normal c1.viewUp = up cpts = (c0, c1) x = (0., 1.) for i in range(start, nsteps+1): t = float(i) / float(nsteps) c = EvalCubicSpline(t, x, cpts) SetView3D(c) # SaveWindow() # uncomment to save image of each step

Lab #1 – Create Isosurface Plot Open RectGrid2.vtk Create Pseudocolor plot on scalars variable Apply Isosurface operator

Lab #2 – Clip Isosurface Plot on -Y Rotate view from +Z axis to –Y axis Create Clip operator Change Clip attributes to change clip plane from +X axis to –Y axis Apply new clip attributes

Lab #3 – Save Image Stack Using change_view as a model, save an image stack of the view changing Bonus points: change filename and image file type

Lab #4 – Fly Around Plot Using change_view as a model, create multiple viewpoints to fly around dataset Bonus points: modulate viewpoints along wave (will need to calculate orthogonal view and up)

Obrigado!

Helpful Hints for Labs #1 and #2

VisIt Open the file RectGrid2.vtk Click File -> Open Select RectGrid2.vtk Click OK Active dataset highlighted

VisIt Open the file RectGrid2.vtk Click File -> Open Select RectGrid2.vtk Click OK Active dataset highlighted

VisIt Create isosurfaces Click Plots -> Pseudocolor -> scalars Click Operators -> Isosurface Click OpAtts -> Isosurface… Keep defaults, click Dismiss Click Draw

VisIt Create isosurfaces Click Plots -> Pseudocolor -> scalars Click Operators -> Isosurface Click OpAtts -> Isosurface… Keep defaults, click Dismiss Click Draw

VisIt Create isosurfaces Click Plots -> Pseudocolor -> scalars Click Operators -> Isosurface Click OpAtts -> Isosurface… Keep defaults, click Dismiss Click Draw

VisIt Create isosurfaces Click Plots -> Pseudocolor -> scalars Click Operators -> Isosurface Click OpAtts -> Isosurface… Keep defaults, click Dismiss Click Draw

VisIt Create isosurfaces Click Plots -> Pseudocolor -> scalars Click Operators -> Isosurface Click OpAtts -> Isosurface… Keep defaults, click Dismiss Click Draw

VisIt Create isosurfaces Click Plots -> Pseudocolor -> scalars Click Operators -> Isosurface Click OpAtts -> Isosurface… Keep defaults, click Dismiss Click Draw

VisIt Clip isosurfaces Rotate view to +Y axis Click Operators -> Clip Click OpAtts -> Clip… Change Normal to Click Apply Click Dismiss

VisIt Clip isosurfaces Rotate view to +Y axis Click Operators -> Clip Click OpAtts -> Clip… Change Normal to Click Apply Click Dismiss

VisIt Clip isosurfaces Rotate view to +Y axis Click Operators -> Clip Click OpAtts -> Clip… Change Normal to Click Apply Click Dismiss

VisIt Clip isosurfaces Rotate view to +Y axis Click Operators -> Clip Click OpAtts -> Clip… Change Normal to Click Apply Click Dismiss

VisIt Clip isosurfaces Rotate view to +Y axis Click Operators -> Clip Click OpAtts -> Clip… Change Normal to Click Apply Click Dismiss

VisIt Clip isosurfaces Rotate view to +Y axis Click Operators -> Clip Click OpAtts -> Clip… Change Normal to Click Apply Click Dismiss