30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Setting Group Focus<br />

Although the lockstep group of the TOI has two threads, the current focus<br />

has only one thread, and that thread is, of course, part of the lockstep<br />

group. Consequently, the lockstep group in the current focus is just the one<br />

thread, even though this thread’s lockstep group has two threads.<br />

If you ask for a wider width (p or g) with L, the CLI displays more threads<br />

from the lockstep group of thread 1.1. as follows:<br />

t1. f pL dstatus<br />

1: 37258 Breakpoint [omp_prog]<br />

1.1: 37258.1 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

1.3: 37258.3 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

t1. f gL dstatus<br />

1: 37258 Breakpoint [omp_prog]<br />

1.1: 37258.1 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

1.3: 37258.3 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

If the TOI is 1.1, L refers to group number 1.1, which is the lockstep group of thread<br />

1.1.<br />

Because this example only contains one process, the pL and gL specifiers<br />

produce the same result when used with the dstatus command. If, however,<br />

there were additional processes in the group, you only see them when you<br />

use the gL specifier.<br />

Merging Focuses<br />

When you specify more than one focus for a command, the CLI merges<br />

them together. In the following example, the focus indicated by the<br />

prompt—this focus is called the outer focus—controls the display. This<br />

example shows what happens when dfocus commands are strung together:<br />

t1. f d<br />

d1.<<br />

d1. f tL dstatus<br />

1: 37258 Breakpoint [omp_prog]<br />

1.1: 37258.1 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

d1. f tL f p dstatus<br />

1: 37258 Breakpoint [omp_prog]<br />

1.1: 37258.1 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

1.3: 37258.3 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

d1. f tL f p f D dstatus<br />

1: 37258 Breakpoint [omp_prog]<br />

1.1: 37258.1 Breakpoint PC=0x1000acd0,<br />

[./omp_prog.f#35]<br />

1.2: 37258.2 Stopped PC=0xffffffffffffffff<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.7 271

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

Saved successfully!

Ooh no, something went wrong!