User Tools

Site Tools


debug_quickstart

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
debug_quickstart [2013/09/24 13:33]
ulges
debug_quickstart [2013/09/24 13:34]
ulges
Line 12: Line 12:
 $ module add gcc/​4.7.0 ​ $ module add gcc/​4.7.0 ​
 $ module add mpi/​openmpi/​1.6.1/​gcc_4.7.0</​code>​ $ module add mpi/​openmpi/​1.6.1/​gcc_4.7.0</​code>​
-  - Modify your program by including the “[[selective-debug|selective-debug]]” ((In case "​selective-debug"​ is not available in your $PATH environment,​ you can view and download the current version here.)) wrapper and use the **BREAKPOINT_AND_SLEEP()** macro to halt where appropriate. <code c>#​include “selective-debug.h”+  - Modify your program by including the “[[selective-debug|selective-debug]]” ((In case "​selective-debug"​ is not available in your $PATH environment,​ you can view and download the current version ​[[selective-debug|here]].)) wrapper and use the **BREAKPOINT_AND_SLEEP()** macro to halt where appropriate. <code c>#​include “selective-debug.h”
    
 if(my_rank == <rank on which the problem exists>) { if(my_rank == <rank on which the problem exists>) {
debug_quickstart.txt · Last modified: 2013/10/02 10:44 by ulges