Difference between revisions of "Debugging by Stefan Radl"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 9: Line 9:
  
 
=Serial Debugging=
 
=Serial Debugging=
* [http://valgrind.org/ Valgrind] is a very useful tool to identify memory leaks, as well as other bugs.
+
* [http://valgrind.org/ '''Valgrind'''] is a very useful tool to identify memory leaks, as well as other bugs.
* [https://www.gnu.org/software/gdb/ gdb] is a widely used debugger.
+
* [https://www.gnu.org/software/gdb/ '''gdb'''] is a widely used debugger.
  
 
=Accessing Parallel Performance and Debugging=
 
=Accessing Parallel Performance and Debugging=
 
* The [http://hpctoolkit.org/ HPCToolkit] is a powerful tool when improving parallel performance, or during identification of algorithmic bugs.
 
* The [http://hpctoolkit.org/ HPCToolkit] is a powerful tool when improving parallel performance, or during identification of algorithmic bugs.

Revision as of 17:25, 22 February 2018

Go back to Day 2.

Serial Debugging

  • Valgrind is a very useful tool to identify memory leaks, as well as other bugs.
  • gdb is a widely used debugger.

Accessing Parallel Performance and Debugging

  • The HPCToolkit is a powerful tool when improving parallel performance, or during identification of algorithmic bugs.