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.
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.