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.

Debugging Parallel Applications Tips<br />

other parallel processes that have not yet arrived at the breakpoint. This<br />

can cause a timeout.<br />

To turn the option off, select the Process Window Action Point ><br />

Properties command while the line with the stop symbol is selected. After<br />

the Properties Dialog Box appears, select the Process button in the When<br />

Hit, Stop area, and also select the Plant in share group button.<br />

CLI: dbarrier location –stop_when_hit process<br />

� Control the poe process<br />

Even though the poe process continues under debugger control, do not<br />

attempt to start, stop, or otherwise interact with it. Your parallel tasks<br />

require that poe continues to run. For this reason, if poe is stopped,<br />

<strong>TotalView</strong> automatically continues it when you continue any parallel task.<br />

� Avoid slow processes due to node saturation<br />

If you try to debug a PE program in which more than three parallel tasks<br />

run on a single node, the parallel tasks on each node can run noticeably<br />

slower than they would run if you were not debugging them.<br />

In general, the number of processes running on a node should be the<br />

same as the number of processors in the node.<br />

This becomes more noticeable as the number of tasks increases, and, in<br />

some cases, the parallel tasks does not progress. This is because PE uses<br />

the SIGALRM signal to implement communications operations, and AIX<br />

requires that debuggers must intercept all signals. As the number of parallel<br />

tasks on a node increases, <strong>TotalView</strong> becomes saturated and can’t<br />

keep up with the SIGALRM signals being sent, thus slowing the tasks.<br />

130 Chapter 6: Setting Up MPI Debugging Sessions

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

Saved successfully!

Ooh no, something went wrong!