source: issm/trunk/externalpackages/valgrind/README@ 1903

Last change on this file since 1903 was 1903, checked in by Eric.Larour, 16 years ago

Some explanation

File size: 284 bytes
RevLine 
[1903]1How to use valgrind to debug memory leaks.
2Install valgrind (jut type valgrind.sh).
3Compile the parallel code using -g -O0 as optoins (edit src/c/Makefile if necessary).
4Then set md.mem_debug=1, and run in parallel. Voila!
5The errlog will contain all the info spit out by valgrind.
Note: See TracBrowser for help on using the repository browser.