source:
issm/trunk/externalpackages/valgrind/README@
1903
      
      | Last change on this file since 1903 was 1903, checked in by , 16 years ago | |
|---|---|
| File size: 284 bytes | |
| Rev | Line | |
|---|---|---|
| [1903] | 1 | How to use valgrind to debug memory leaks. | 
| 2 | Install valgrind (jut type valgrind.sh). | |
| 3 | Compile the parallel code using -g -O0 as optoins (edit src/c/Makefile if necessary). | |
| 4 | Then set md.mem_debug=1, and run in parallel. Voila! | |
| 5 | The errlog will contain all the info spit out by valgrind. | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)