Differences between revisions 1 and 2
Revision 1 as of 2010-03-16 12:52:54
Size: 76
Editor: NicoleThomas
Comment:
Revision 2 as of 2010-03-19 08:12:28
Size: 549
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
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)