Size: 76
Comment:
|
← Revision 4 as of 2010-04-29 07:17:30 ⇥
Size: 575
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