Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2010-03-16 12:52:54
Size: 76
Editor: NicoleThomas
Comment:
Revision 4 as of 2010-04-29 07:17:30
Size: 575
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from JuropaDebug
Line 3: Line 4:
Compile and link program with debug option (-g)  * Compile and link program with debug option '''-g'''

 * Allocate interactive partition with X11 forwarding:
 {{{
msub -I -X -l nodes=#:ppn=8
 }}}
 possible number of nodes: 1 or 2

 * Start debugger:
 {{{
totalview <jobscript>
ddt <jobscript>
 }}}


 * When totalview is started :
   In Window ''Startup Parameters'' -> ''Parallel''
    * ''Parallel system'': MPICH2
    * ''Tasks'': choose number of CPUs


 * After debugging deallocate interactive partition with:
 {{{
exit
 }}}

Debugging on JUROPA

  • Compile and link program with debug option -g

  • Allocate interactive partition with X11 forwarding:
    msub -I -X -l nodes=#:ppn=8
    possible number of nodes: 1 or 2
  • Start debugger:
    totalview <jobscript>
    ddt <jobscript>
  • When totalview is started :
    • In Window Startup Parameters -> Parallel

      • Parallel system: MPICH2

      • Tasks: choose number of CPUs

  • After debugging deallocate interactive partition with:
    exit

Juropa/Debug (last edited 2010-04-29 07:17:30 by NicoleThomas)