HPCC Mid-Morning Break Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery TotalView Parallel Debugger.

Slides:



Advertisements
Similar presentations
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER TotalView on the T3E and IBM SP Systems NERSC User Services June 12, 2000.
Advertisements

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Introduction to the SPL Interpreter
The New User Interface MEDITECH Training & Education.
Jeff Beltramo NHTI-Concord’s Community College FRC Team 1922.
COMPUTER PROGRAMMING I Essential Standard 5.02 Understand Breakpoint, Watch Window, and Try And Catch to Find Errors.
Debugging What can debuggers do? Run programs Make the program stops on specified places or on specified conditions Give information about current variables’
Dr. Fabrizio Gala Dipartimento di Scienze di Base e Applicate Per l’Ingegneria – Sezione di Fisica Via Scarpa Rome, Italy 1.
HPCC Mid-Morning Break MPI on HPCC Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Research
© by Pearson Education, Inc. All Rights Reserved.
Lecture Roger Sutton CO331 Visual programming 15: Debugging 1.
Ten debugging techniques. The execution process Execution proceeds in a standard series of steps Compute values of subexpressions first Then call value.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
How to Debug VB .NET Code.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
CS 1 with Robots IDLE and Myro Institute for Personal Robots in Education (IPRE)‏
JavaScript 101 Lesson 5: Introduction to Events. Lesson Topics Event driven programming Events and event handlers The onClick event handler for hyperlinks.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
CIT 590 Debugging. Find a laptop Please take a moment to open up your laptop and open up Eclipse. If you do not have a laptop, please find a friend. If.
HPCC Mid-Morning Break Powertools Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Research
HPCC Mid-Morning Break Interactive High Performance Computing Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery.
AlgoTutor Tutorial (3) Program Pad J. Yoo, S. Yoo, C. Pettey, S. Seo, and Z. Dong MTSU Computer Science Department Making the transition from the algorithm.
HPCC Mid-Morning Break Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery Introduction to the new GPU (GFX) cluster.
 SAP AG SAP R/3 Getting Started Fall  SAP AG SAP R/3 Getting Started Using Sap R/3 SAP R/3 Help Demonstration Exercises.
IE 411/511: Visual Programming for Industrial Applications
Debugging Projects Using C++.NET Click with the mouse button to control the flow of the presentation.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Introduction to the HPCC Dirk Colbry Research Specialist Institute for Cyber Enabled Research.
TotalView Debugging Tool Presentation Josip Jakić
DDT Debugging Techniques Carlos Rosales Scaling to Petascale 2010 July 7, 2010.
Creating, Editing, & Debugging a VI A.How to Create VIs B.How to Edit VIs C.How to Debug VIs You Will Learn:
Our Environment We will exercise on Microsoft Visual C++ v.6 We will exercise on Microsoft Visual C++ v.6 because that is what we have in the univ. because.
1 Κατανεμημένες Διαδικτυακές Εφαρμογές Πολυμέσων Γιάννης Πετράκης.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Debugging Visual Basic.NET Programs ► ► Use debugging tools ► ► Set breakpoints and correct mistakes. ► ► Use a Watch and Local window to examine variables.
Allegro CL Certification Program Lisp Programming Series Level I Session Basic Lisp Development in the IDE.
® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.
Bit-DSP-MicrocontrollerTMS320F2812 Texas Instruments Incorporated European Customer Training Center University of Applied Sciences Zwickau (FH)
CS320n –Visual Programming More LabVIEW Foundations.
Data Display Debugger (DDD)
GUI development with Matlab: GUI Front Panel Components GUI development with Matlab: Other GUI Components 1 Other GUI components In this section, we will.
line.net/ okpop.com/bar elythereflashin dex.html.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 3 – Inventory Application: Introducing Variables,
Georgia Institute of Technology Creating Classes part 2 Barb Ericson Georgia Institute of Technology June 2006.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
CSI605 Introduction to ddd. ddd ddd stands for the Data Display Debugger ddd is a graphical environment that resides on top of gdb We recall that gdb.
Aquarium Lab Series Developed by Alyce BradyAlyce Brady of Kalamazoo CollegeKalamazoo College.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
15 Copyright © 2004, Oracle. All rights reserved. Debugging Triggers.
The Perl Debugger Issac Goldstand Mirimar Networks
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Debugging Lab Antonio Gómez-Iglesias Texas Advanced Computing Center.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
 Wind River Systems, Inc Chapter - 4 CrossWind.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
HP-SEE TotalView Debugger Josip Jakić Scientific Computing Laboratory Institute of Physics Belgrade The HP-SEE initiative.
CMIP5 Questionnaire Roadmap – beta
Testing and Debugging.
Computer Programming I
Tutorial for using Case It for bioinformatics analyses
Debuggers.
Examples of Slide show navigation
Test Automation For Web-Based Applications
Our Environment We will exercise on Microsoft Visual C++ v.6
Debugging Visual Basic Programs
How to debug a website using IE F12 tools
Presentation transcript:

HPCC Mid-Morning Break Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery TotalView Parallel Debugger

Prerequisites for running TotalView Compiling with the –g option How to run TotalView with serial code. How to run TotalView using openmpi

Prerequisites Requires a working X11 server  s/Installing+an+X-server+on+Windows s/Installing+an+X-server+on+Windows module load totalview  already on by default on the dev nodes.

Compiling your code You need to add the –g option to either your compile command. The –g option adds links to your source code from executable. If you do not add the –g option:  TotalView will still work.  However, it will not show you your code.  Instead it will show you machine code.

Serial Totalview Use the following command to start totalview:  totalview./programname If you have input arguments  totalview./programname –a

Basic TotalView Interface

Startup Parameters

Select Replay Engine

Main Window Variable Stack Source Code Navigatio n Bar Program Stack Go Button

Main Window

Tracking Down an Error Use your mouse to select different functions in your stack.

Program Navigation Next – Move to next line Prev – Move to previous line Step – Step into a function Caller – Move back to call of function

Break Points Click on Line number to add/remove a break point. Blue Arrow Represents farthest forward the program has run. Yellow arrow represents the current line being displayed. Breakpoints are show in the bottom panel

Other interface options Right click on a function name and select “Dive” to look at the code for that function. Hover your mouse pointer over a variable to see the current values.

TotalView and openmpi Compile your code using openmpi.  module swap mvapich openmpi  Don’t forget the –g option Use totalview interface to set up your mpitest  Totalview &

MPI New Program

Process Window

MPI Interface Process Navigation

More Information