TOTALVIEW Majdi Baddourah June 4, 2002 NERSC. Objective How to use totalview MPI codes OpenMp Codes.

Slides:



Advertisements
Similar presentations
Browse the codebook - to see the list of variables on which you can do statistics select the “Browse codebook in this window” option and then click “Start”
Advertisements

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.
Professional Toolkit V2.0 C:\Presentations - SmartCafe_Prof_V2.0 - bsc page 1 Professional Toolkit 2.0.
Matt Wolfe LC Development Environment Group Lawrence Livermore National Laboratory Lawrence Livermore National Laboratory, P. O. Box 808, Livermore, CA.
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.
May 19, Tutorial on Parallel Debuggers Shirley Browne University of Tennessee/ Innovative Computing Laboratory
April 24, 2002 TotalView Debugger. April 24, 2002 Compile and Run Copy bug1.f from /tmp/training to your /tmp/username directory Compile with the –g option.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Guidelines for working with Microsoft Visual Studio.Net.
Guidelines for working with Microsoft Visual Studio 6.
Parallel Debugging Techniques Le Yan Louisiana Optical Network Initiative 8/3/2009Scaling to Petascale Virtual Summer School.
HPCC Mid-Morning Break Interactive High Performance Computing Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery.
Parallel Debugging Techniques & Introduction to Totalview Le Yan Louisiana Optical Network Initiative 7/6/2010Scaling to Petascale Virtual Summer School.
High Performance Computation --- A Practical Introduction Chunlin Tian NAOC Beijing 2011.
Shared Memory Parallelization Outline What is shared memory parallelization? OpenMP Fractal Example False Sharing Variable scoping Examples on sharing.
Executing OpenMP Programs Mitesh Meswani. Presentation Outline Introduction to OpenMP Machine Architectures Shared Memory (SMP) Distributed Memory MPI.
Debugging Cluster Programs using symbolic debuggers.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER 1 Porting from the Cray T3E to the IBM SP Jonathan Carter NERSC User Services.
TotalView Debugging Tool Presentation Josip Jakić
DDT Debugging Techniques Carlos Rosales Scaling to Petascale 2010 July 7, 2010.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER Evolution of the NERSC SP System NERSC User Services Original Plans Phase 1 Phase 2 Programming.
® IBM Software Group © 2011 IBM Corporation RDz Workbench – Debugging z/OS COBOL Applications Batch COBOL Debugging Workshop Jon Sayles, Rational System.
High-Performance Parallel Scientific Computing 2008 Purdue University OpenMP Tutorial Seung-Jai Min School of Electrical and Computer.
Profiling, Tracing, Debugging and Monitoring Frameworks Sathish Vadhiyar Courtesy: Dr. Shirley Moore (University of Tennessee)
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
Software Overview Environment, libraries, debuggers, programming tools and applications Jonathan Carter NUG Training 3 Oct 2005.
Debugging Visual Basic.NET Programs ► ► Use debugging tools ► ► Set breakpoints and correct mistakes. ► ► Use a Watch and Local window to examine variables.
A New Parallel Debugger for Franklin: DDT Katie Antypas User Services Group NERSC User Group Meeting September 17, 2007.
Debugging parallel programs. Breakpoint debugging Probably the most widely familiar method of debugging programs is breakpoint debugging. In this method,
Bit-DSP-MicrocontrollerTMS320F2812 Texas Instruments Incorporated European Customer Training Center University of Applied Sciences Zwickau (FH)
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER March 17, Libraries and Their Performance Frank V. Hale Thomas M. DeBoni NERSC User Services.
Program Systems Institute RASTDB TDB: THE INTERACTIVE DISTRIBUTED DEBUGGING TOOL FOR PARALLEL MPI PROGRAMS.
Hints on debugging
HPCC Mid-Morning Break Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery TotalView Parallel Debugger.
NETBEANS DEBUGGER.  To create a breakpoint place the cursor at the desired location.  Go to the Run -> toogle line Breakpoint or Ctrl +F8. It creates.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Debug in Visual Studio Windows Development Fundamentals LESSON 2.5A.
Visual Basic Integrated Development Environment (IDE) 56:150 Information System Design.
15 Copyright © 2004, Oracle. All rights reserved. Debugging Triggers.
1 Advanced.Net Debugging Using Visual Studio, R# and OzCode IT Week, Summer 2015.
Netbeans QuickStart. Creating a project File->New Project –For now you want General->Java Application –Then fill in the project details.
Debugging Lab Antonio Gómez-Iglesias Texas Advanced Computing Center.
HP-SEE Debugging with GDB Vladimir Slavnic Research Assistant SCL, Institute of Physics Belgrade The HP-SEE initiative.
Debugging using By: Samuel Ashby. What is debugging?  A bug is an error in either a program or the hardware itself.  Debugging is first locating and.
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.
THE MOUSE Left Click THE MOUSE Right Click.
Installing Analysis Tool Pak
Dynamic Analysis ddaa.
Debugging Dwight Deugo
Important terms Black-box testing White-box testing Regression testing
Quick Start Guide for Visual Studio 2010
Parallel Debugging Techniques & Introduction to Totalview
DEBUGGING.
Important terms Black-box testing White-box testing Regression testing
Debuggers.
Test Automation For Web-Based Applications
1. Open Visual Studio 2008.
DEBUGGING JAVA PROGRAMS USING ECLIPSE DEBUGGER
Installing Analysis Tool Pak
Using a Debugger 1-Jan-19.
Lab 1: Getting started ICE0125 Programming Fundamentals II – C/C++
Our Environment We will exercise on Microsoft Visual C++ v.6
Debugging Visual Basic Programs
Debugging Dwight Deugo
Parallel Computing Explained How to Parallelize a Code
Browse the codebook - to see the list of variables on which you can do statistics select the “Browse codebook in this window” option and then click “Start”
Presentation transcript:

TOTALVIEW Majdi Baddourah June 4, 2002 NERSC

Objective How to use totalview MPI codes OpenMp Codes

TOTALVIEW Debugging tool Supported by ETNUS Works very well most of the time Line mode and x-windows mode Used to debug FORTRAN and C

Usage module load totalview mpxlf –g main.f totalview poe –a./a.out –nodes 2 –procs 32

TOTALVIEW Window

Program Window

File Options

Process Options

Action Point Options

Tools Options

POE Window

Source Code Window

Set Breakpoint right mouse click left mouse click

Breakpoint options

Start Exectution left mouse click

See Other Processors left mouse click

Setting Evaluation Function

right mouse click

Evaluation Function

Evaluation Functions

right mouse click

Variable Value

Looking at the vector x

Looking at a Slice of an Array

Looking at Large Arrays parameter(n= ) real*8 a(n) do i = 1, n a(i) = float(i) enddo write(*,*)' a(',n,')=',a(n) stop end You can view the content of the variable A without problems. You can not look at statistics or visualize the variable.

Message Queue

C Program

Structure Value

Looking at Structure

Watch Point

Unconditional Watchpoint

Checking the Value

Attaching a Running Job Run Totalview using this command totalview & poe./a.out –nodes 2 –procs 32 Click on the poe job

Attaching a Job

Running the Job Click Go

Detaching a Job Click detach

OpenMp setenv OMP_NUM_THREADS 4 module load totalview

Compile xlf90_r -o a.out -g -qfixed -qsmp=omp -qstrict nowait.f -bmaxstack:0x Dive on J

Compile with noopt xlf90_r -o a.out -qfixed -qsmp=omp -g -qstrict nowait.f -qsmp=noopt -bmaxstack:0x

OpenMp right mouse click Click go

Threads 3 Dive on b

Shared variables

OpenMp Dive on j

Private Variables

TOTALVIEW X-Resources totalview*searchPath:/usr/common/homes/m/majdi/NETCDF4/src/libsrc, \ /usr/common/homes/m/majdi/NETCDF4/src/fortran, \ /usr/common/homes/m/majdi/NETCDF4/src/f90, \ /usr/common/homes/m/majdi/NETCDF4/src, \ /scratch/scratchdirs/majdi, /scratch/scratchdirs/majdi/NimRot