Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
valgrind [2016/10/26 10:50] meesters [An example with visualization] |
valgrind [2018/01/08 14:33] meesters [On Mogon] |
||
---|---|---|---|
Line 11: | Line 11: | ||
===== On Mogon ===== | ===== On Mogon ===== | ||
- | On Mogon, valgrind is compiled on the a*-nodes and available as the module '' | + | On Mogon, valgrind is compiled on the a*-nodes and available as the module '' |
===== 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> | ||
- | bsub -n 1 -app Reserve1800M | + | srun -p short -n 1 --mem 1800M -t 300 valgrind --tool=callgrind |
</ | </ | ||
where '' | where '' | ||
- | This will produce an output file (e.g. '' | + | This will produce an output file (e.g. '' |
<code bash> | <code bash> | ||
callgrind_annotate --auto=yes callgrind.out.44289 |less | callgrind_annotate --auto=yes callgrind.out.44289 |less |