Difference between revisions of "Totalview in Segments"
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Tutorials]]<nowiki /> | ||
+ | [[Category:Tutorials | Totalview]]<nowiki /> | ||
+ | {{Syllabus Totalview in Segments}}<nowiki /> | ||
+ | |||
== Introduction == | == Introduction == | ||
Totalview is a widely used debugger in the field of HPC. | Totalview is a widely used debugger in the field of HPC. | ||
− | This video series provides an introduction to debugging techniques and methodology, and a practical hands-on tutorial | + | This video series provides an introduction to debugging techniques and methodology, and a practical hands-on tutorial to the Totalview debugger. |
This tutorial is targeted for software developers as an initial introduction to debugging with Totalview. | This tutorial is targeted for software developers as an initial introduction to debugging with Totalview. | ||
Line 7: | Line 11: | ||
== How to proceed through this tutorial? == | == How to proceed through this tutorial? == | ||
− | The tutorial is currently made of '''5 segments''' each detailing on basic debugging techniques. Additional segments, will be added as they are produced. | + | The tutorial is currently made of '''5 segments''', each detailing on basic debugging techniques. Additional segments, will be added as they are produced. |
− | Each video | + | Each video segment uses practical examples, provided as source files, that can be followed along. |
Access to the Totalview debugger is recommended to follow the tutorial along. | Access to the Totalview debugger is recommended to follow the tutorial along. | ||
Line 24: | Line 28: | ||
Each video builds on the previous videos. It is recommended to watch all videos in sequence. | Each video builds on the previous videos. It is recommended to watch all videos in sequence. | ||
− | ===== Video 1: Introduction to debugging and Totalview ===== | + | ===== Video 1: Introduction to debugging and Totalview ===== <!--T:1--> |
− | This video provides a brief overview of the debugging process and mindset and then introduces the debugger Totalview. | + | This video provides a brief overview of the debugging process and mindset and then introduces the debugger Totalview. <br/> |
− | + | [[File:TotalviewVideos_Part1_AboutPicture.png|500px|Totalview Video Part I]]<br/> | |
− | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil1_-_V1.00.mp4 | + | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil1_-_V1.00.mp4 Totalview Video - Part I]<br/> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Material:<br/> | |
− | + | [[Media:HKHLR Totalview OnlineCourseVideo1_Slides.pdf | Totalview - part 1: Slides as pdf]]<br/> | |
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/demo01.zip Demo01 - Sources] | ||
− | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil2_-_V1.00.mp4 Totalview - part 2] | + | ===== Video 2: Steering the program control flow ===== <!--T:2--> |
+ | This video provides basic knowledge managing control-flow in Totalview using the new user interface. Key aspects are running, pausing, stepping, advancing control-flow, run-to and step-out.<br/> | ||
+ | [[File:TotalviewVideos_Part2_AboutPicture.png|500px|Totalview Video Part II]]<br/> | ||
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil2_-_V1.00.mp4 Totalview - part 2]<br/> | ||
− | Material: | + | Material:<br/> |
− | [[ | + | [[File:HKHLR Totalview OnlineCourseVideo2_Slides.pdf | Totalview - part 2: Slides as pdf]]<br/> |
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/demo01.zip Demo01 - Sources] | ||
− | ===== Video 3: Inspecting variables ===== | + | ===== Video 3: Inspecting variables ===== <!--T:3--> |
− | This video covers basic data inspection techniques | + | This video covers core-dump debugging, basic data inspection techniques and data-transformations within Totalview.<br/> |
− | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil3_-_V1.00.mp4 Totalview - part 3] | + | [[File:TotalviewVideos_Part3_AboutPicture.png|500px|Totalview Video Part III]]<br/> |
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil3_-_V1.00.mp4 Totalview - part 3]<br/> | ||
− | Material: | + | Material:<br/> |
− | [[Media:HKHLR Totalview OnlineCourseVideo3_Slides.pdf | Totalview - part 3: Slides as pdf]] | + | [[Media:HKHLR Totalview OnlineCourseVideo3_Slides.pdf | Totalview - part 3: Slides as pdf]]<br/> |
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/demo02.zip Demo02 - Sources] | ||
− | ===== Video 4: Comfort features: action-points, and replay engine ===== | + | ===== Video 4: Comfort features: action-points, and replay engine ===== <!--T:4--> |
− | This video covers how to attach to a running program without terminating it, break- watch- and evaluation-points, capable of interrupting execution based on configurable conditions. | + | This video covers how to attach to a running program without terminating it, break- watch- and evaluation-points, capable of interrupting execution based on configurable conditions.<br/> |
+ | [[File:TotalviewVideos_Part4_AboutPicture.png|500px|Totalview Video Part IV]]<br/> | ||
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil4_-_V1.00.mp4 Totalview - part 4]<br/> | ||
+ | Material:<br/> | ||
+ | [[Media:HKHLR Totalview OnlineCourseVideo4_Slides.pdf | Totalview - part 4: Slides as pdf]]<br/> | ||
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/demo03.zip Demo03 - Sources] | ||
− | + | ===== Video 5: Debugging parallel programs in Totalview ===== <!--T:5--> | |
− | [[ | + | This video advances the techniques and methods from videos 1-4 into the parallel domain, covering parallel data inspection, thread and process handling, and using control groups to execute single, and groups of parallel entities.<br/> |
+ | [[File:TotalviewVideos_Part5_AboutPicture.png|500px|Totalview Video Part V]]<br/> | ||
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/Totalview_-_Teil5_-_V1.00.mp4 Totalview - part 5]<br/> | ||
− | + | Material:<br/> | |
− | Material: | + | [[Media:HKHLR Totalview OnlineCourseVideo5_Slides.pdf | Totalview - part 5: Slides as pdf]]<br/> |
− | [[Media:HKHLR Totalview OnlineCourseVideo5_Slides.pdf | Totalview - part 5: Slides as pdf]] | + | [https://download.hrz.tu-darmstadt.de/media/HKHLR/demo04.zip Demo04 - Sources]<br/> |
+ | [https://download.hrz.tu-darmstadt.de/media/HKHLR/demo05.zip Demo05 - Sources]<br/> |
Latest revision as of 11:14, 22 April 2022
Tutorial | |
---|---|
Title: | Totalview in Segments |
Provider: | HKHLR |
Type: | Multi-part video |
Topic Area: | Software Correctness |
License: | CC-BY-SA |
Syllabus
| |
1. Introduction | |
2. Steering Control Flow | |
3. Inspecting Variables | |
4. Action Points & Replay Engine | |
5. Parallel Debugging |
Introduction
Totalview is a widely used debugger in the field of HPC. This video series provides an introduction to debugging techniques and methodology, and a practical hands-on tutorial to the Totalview debugger.
This tutorial is targeted for software developers as an initial introduction to debugging with Totalview.
How to proceed through this tutorial?
The tutorial is currently made of 5 segments, each detailing on basic debugging techniques. Additional segments, will be added as they are produced. Each video segment uses practical examples, provided as source files, that can be followed along. Access to the Totalview debugger is recommended to follow the tutorial along.
Who created this tutorial?
This tutorial has been developed by the Competence Center for High Performance Computing in Hessen (HKHLR).
The speaker is Dr. Christian Iwainsky from Technische Universiät Darmstadt. Christian works at the university's IT center. The slide are a collective effort of the HKHLR, and video editing was done by himself, with support by Laurin Eisenacher in editing the audio.
Videos
Each video builds on the previous videos. It is recommended to watch all videos in sequence.
Video 1: Introduction to debugging and Totalview
This video provides a brief overview of the debugging process and mindset and then introduces the debugger Totalview.
Totalview Video - Part I
Material:
Totalview - part 1: Slides as pdf
Demo01 - Sources
Video 2: Steering the program control flow
This video provides basic knowledge managing control-flow in Totalview using the new user interface. Key aspects are running, pausing, stepping, advancing control-flow, run-to and step-out.
Totalview - part 2
Material:
File:HKHLR Totalview OnlineCourseVideo2 Slides.pdf
Demo01 - Sources
Video 3: Inspecting variables
This video covers core-dump debugging, basic data inspection techniques and data-transformations within Totalview.
Totalview - part 3
Material:
Totalview - part 3: Slides as pdf
Demo02 - Sources
Video 4: Comfort features: action-points, and replay engine
This video covers how to attach to a running program without terminating it, break- watch- and evaluation-points, capable of interrupting execution based on configurable conditions.
Totalview - part 4
Material:
Totalview - part 4: Slides as pdf
Demo03 - Sources
Video 5: Debugging parallel programs in Totalview
This video advances the techniques and methods from videos 1-4 into the parallel domain, covering parallel data inspection, thread and process handling, and using control groups to execute single, and groups of parallel entities.
Totalview - part 5
Material:
Totalview - part 5: Slides as pdf
Demo04 - Sources
Demo05 - Sources