30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

c<br />

h<br />

a<br />

p<br />

t<br />

e<br />

r<br />

7<br />

Setting Up Parallel<br />

Debugging Sessions<br />

This chapter explains how to set up <strong>TotalView</strong> parallel debugging sessions<br />

for applications that use the parallel execution models that<br />

<strong>TotalView</strong> supports and which do not use MPI.<br />

If you are using <strong>TotalView</strong> Individual, all of your program’s processes must execute on<br />

the computer on which you installed <strong>TotalView</strong>. In addition, <strong>TotalView</strong> Individual limits<br />

you to no more than 16 processes and threads.<br />

This chapter contains the following topics:<br />

� “Debugging OpenMP Applications” on page 132<br />

� “Using SLURM” on page 137<br />

� “Debugging IBM Cell Broadband Engine Programs” on page 138<br />

� “Debugging Cray XT Applications” on page 144<br />

� “Debugging Global Arrays Applications” on page 148<br />

� “Debugging PVM (Parallel Virtual Machine) and DPVM Applications” on<br />

page 151<br />

� “Debugging Shared Memory (SHMEM) Code” on page 156<br />

� “Debugging UPC Programs” on page 158<br />

This chapter also describes <strong>TotalView</strong> features that you can use with<br />

most parallel models:<br />

� <strong>TotalView</strong> lets you decide which process you want it to attach to.<br />

See “Attaching to Processes” on page 124.<br />

� See “Debugging Parallel Applications Tips” on page 124 for hints on<br />

how to approach debugging parallel programs.<br />

<strong>TotalView</strong> Reference <strong>Guide</strong>: version 8.7 131

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!