Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
debug_quickstart [2013/09/24 13:33] ulges |
debug_quickstart [2013/10/02 10:44] (current) ulges [Quick start - Debugging MPI programs on Mogon] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Quick start - Debugging MPI programs on Mogon ====== | ====== Quick start - Debugging MPI programs on Mogon ====== | ||
This is a greatly shortened version of how to use our debug wrapper [[selective-debug|selective-debug]].\\ | This is a greatly shortened version of how to use our debug wrapper [[selective-debug|selective-debug]].\\ | ||
- | If you aren't familiar with the basics of using a debugger like gdb, you should follow our [[debug_tutorial|Tutorial: | + | If you aren't familiar with the basics of using a debugger like [[http:// |
===== How to use " | ===== How to use " | ||
Line 12: | Line 12: | ||
$ module add gcc/ | $ module add gcc/ | ||
$ module add mpi/ | $ module add mpi/ | ||
- | - Modify your program by including the “[[selective-debug|selective-debug]]” ((In case " | + | - Modify your program by including the “[[selective-debug|selective-debug]]” ((In case " |
if(my_rank == <rank on which the problem exists>) { | if(my_rank == <rank on which the problem exists>) { |