TotalView Users Guide - CI Wiki
TotalView Users Guide - CI Wiki
TotalView Users Guide - CI Wiki
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Preparing to Debug a PE Application.......................................................................... 115<br />
Using Switch-Based Communications.................................................................. 115<br />
Performing a Remote Login .................................................................................. 116<br />
Setting Timeouts................................................................................................... 116<br />
Starting <strong>TotalView</strong> on a PE Program ......................................................................... 116<br />
Setting Breakpoints .................................................................................................. 116<br />
Starting Parallel Tasks ............................................................................................... 117<br />
Attaching to a PE Job ................................................................................................ 117<br />
Attaching from a Node Running poe .................................................................... 117<br />
Attaching from a Node Not Running poe ............................................................. 118<br />
Debugging IBM Blue Gene Applications ......................................................................... 118<br />
Debugging LAM/MPI Applications .................................................................................. 119<br />
Debugging QSW RMS Applications ................................................................................. 120<br />
Starting <strong>TotalView</strong> on an RMS Job .............................................................................. 120<br />
Attaching to an RMS Job............................................................................................. 121<br />
Debugging SiCortex MPI Applications ............................................................................ 121<br />
Debugging SGI MPI Applications .................................................................................... 121<br />
Starting <strong>TotalView</strong> on an SGI MPI Job ......................................................................... 122<br />
Attaching to an SGI MPI Job ....................................................................................... 122<br />
Debugging Sun MPI Applications .................................................................................... 123<br />
Attaching to a Sun MPI Job ...................................................................................... 123<br />
Debugging Parallel Applications Tips .............................................................................. 124<br />
Attaching to Processes ............................................................................................... 124<br />
Parallel Debugging Tips ............................................................................................ 127<br />
MPICH Debugging Tips ............................................................................................. 129<br />
IBM PE Debugging Tips ............................................................................................. 129<br />
7 Setting Up Parallel Debugging Sessions<br />
Debugging OpenMP Applications ................................................................................... 132<br />
Debugging OpenMP Programs .................................................................................. 132<br />
About <strong>TotalView</strong> OpenMP Features ...................................................................... 133<br />
About OpenMP Platform Differences ................................................................... 133<br />
Viewing OpenMP Private and Shared Variables ........................................................ 134<br />
Viewing OpenMP THREADPRIVATE Common Blocks ............................................... 136<br />
Viewing the OpenMP Stack Parent Token Line ........................................................ 137<br />
Using SLURM ................................................................................................................... 137<br />
Debugging IBM Cell .......................................................... Broadband Engine Programs 138<br />
The PPU .................................................................................................................... 140<br />
The SPU .................................................................................................................... 140<br />
Cell Programing ........................................................................................................ 140<br />
PPU and SPU Executable Organization ................................................................ 140<br />
PPU and SPU Executable Naming ......................................................................... 141<br />
Thread IDs ............................................................................................................. 141<br />
Breakpoints .............................................................................................................. 141<br />
Registers, Unions, and Casting ................................................................................. 143<br />
Debugging Cray XT Applications ..................................................................................... 144<br />
Cray XT Catamount..................................................................................................... 144<br />
Configuring <strong>TotalView</strong> ........................................................................................... 145<br />
Using <strong>TotalView</strong> ........................................................................................................ 146<br />
Cray XT CNL .............................................................................................................. 146<br />
Debugging SiCortex Applications ................................................................................... 147<br />
viii Contents