NERSCPowering Scientific Discovery for 50 Years

Valgrind and Sanitizers Training, November 1, 2024

November 1, 2024

On Friday, November 1, 2024, NERSC will host a training event on Valgrind and Sanitizers tools.  Valgrind and Sanitizers (and their associated Valgrind4hpc and Sanitizers4hpc) are command-line interface tools that are simple to use for detecting various errors in C, C++ and Fortran codes. The goal of the training is as follows:

  • Users will learn how to use Valgrind tools for detecting memory errors and doing other tasks
  • Users will be able to use Valgrind4hpc with MPI apps for aggregating Valgrind output, which is more manageable
  • Users will learn how to use LLVM Sanitizer tools to detect memory errors and thread race conditions in user codes
  • Users will learn how to use Sanitizers4hpc for aggregating Sanitizers and Compute Sanitizer output with MPI applications

Instructors: Woo-Sun Yang, Justin Cook and Rebecca Hartman-Baker

Agenda

Time (PDT/UTC-7) Topic Presenters
9:00 am Introduction Justin Cook
9:10 am Valgrind and Valgrind4hpc Woo-Sun Yang
9:30 am Hands-on  
10:00 am Break  
10:10 am Sanitizers and Sanitizers4hpc Woo-Sun Yang
10:30 am Hands-on  
11:00 am Adjourn  

Registration

Registration closed.

Attendance

The event will be presented online only via Zoom. Please register for details.

Presentation Materials

Downloads

  • 1-Introduction.pdf | Adobe Acrobat PDF file
    Introductory slides for logistics for Valgrind and Sanitizers Training, November 1, 2024
  • 2-Valgrind-and-Valgrind4hpc.pdf | Adobe Acrobat PDF file
    Presentation on Valgrind and Valgrind4hpc for Valgrind and Sanitizers Training, November 1, 2024
  • 3-Sanitizers-and-Sanitizers4hpc.pdf | Adobe Acrobat PDF file
    Presentation on Sanitizers and Sanitizers4hpc for Valgrind and Sanitizers Training, November 1, 2024