Software name: 

Valgrind is freely available to all users of HPC2N.


Debugging and profiling tools


Valgrind is a GPL'd system for debugging and profiling Linux programs. With Valgrind's tool suite you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting, making your programs more stable. You can also perform detailed profiling to help speed up your programs.


On HPC2N we have Valgrind available as a module on Kebnekaise. The version of Valgrind that came with the OS is installed on Abisko.

Usage at HPC2N 

Accessing Valgrind differs between Abisko and Kebnekaise.


On Abisko, a somewhat older version of Valgrind is installed with the OS and is directly accessible.


To use the Valgrind module, first add it to your environment. Use:

module spider valgrind

to see which versions are available, as well as how to load the module and the needed prerequisites.

Note that all names of modules are case-sensitive when loading the modules.

You can read more about loading modules on our Accessing software with Lmod page and our Using modules (Lmod) page.


Additional info 

Information about how to use Valgrind, including Quick start guide and user manual, can be found on the Valgrind Homepage.

Updated: 2020-07-14, 21:10