valgrind

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
valgrind [2018/01/08 14:29]
doeringn Adaption to SLURM
valgrind [2018/01/08 14:51]
meesters [An example with visualization]
Line 11: Line 11:
 ===== On Mogon ===== ===== On Mogon =====
  
-On Mogon, valgrind is compiled on the a*-nodes and available as the module ''debugger/Valgrind/3.13.0-foss-2016a''((as of 23. Nov. 2017)).+On Mogon, valgrind is compiled on the a*-nodes and available as the module ''debugger/Valgrind/<version>-<toolchain>''.
  
 ===== Things to consider when using Valgrind ===== ===== Things to consider when using Valgrind =====
Line 29: Line 29:
 Imaging you submit a job like: Imaging you submit a job like:
 <code bash> <code bash>
- srun -p short -n 1 --mem 1800M -t 300 valgrind --tool=callgrind <path/to/cmd> [args]+ srun -p short -A <your account> -n 1 --mem 1800M -t 300 valgrind [other valgrind args] --tool=callgrind <path/to/cmd> [args]
 </code> </code>
 where ''cmd'' is the program to profile with its optional arguments (''args''). where ''cmd'' is the program to profile with its optional arguments (''args'').