Valgrind instrumentation framework

an instrumentation framework for building dynamic analysis tools

Description

The Valgrind distribution currently includes six production-quality tools: a memory error detector, two thread error detectors, a cache and branch-prediction profiler, a call-graph generating cache and branch-prediction profiler, and a heap profiler. It also includes three experimental tools: a stack/global array overrun detector, a second heap profiler that examines how heap blocks are used, and a SimPoint basic block vector generator

Read more on Valgrind home page

VersionInstallation Pathmodulefilecompilercomment
3.14/sw/tools/valgrind/3.14.0/skl/gcc.8.2.0valgrind/3.14.0gcc.8.2-openmpi.3.1.2
3.15/sw/tools/valgrind/3.15.0/skl/openmpi.3.1.5-gcc.9.2.0valgrind/3.15.0gcc.9.2-openmpi.3.1.5B

For User Manual visit the Valgrind User Manual

Prerequisites

No group membership or license is needed. Valgrind can be used by all HLRN users by default.

Modules

Selecting the version and loading the environment

Load the modulefile

$ module load valgrind/<version>

This sets the appropriate paths for using Valgrind framework.

Example usage

$ valgrind ls -l