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.

Debugging LAM/MPI Applications<br />

the front-end node. <strong>TotalView</strong> assumes that the address can be resolved by<br />

using a name that is:<br />

front-end-hostname-io.<br />

For example, if the hostname of the front-end is fred, the servers will connect<br />

to fred-io.<br />

The systems at the IBM Blue Gene Capacity on Demand follow this convention. If you<br />

are executing programs there, you will not need to set the <strong>TotalView</strong> variables described<br />

in the rest of this section.<br />

If the front-end cannot resolve this name, you must supply the name of the<br />

interface using the –local_interface command-line option or by setting the<br />

bluegene_io_interface <strong>TotalView</strong> variable. (This variable is described in the<br />

Chapter 4 of the <strong>TotalView</strong> Reference <strong>Guide</strong>.)<br />

Because the same version of <strong>TotalView</strong> must be able to debug both Power-<br />

Linux programs (for example, mpirun) and Blue Gene programs, <strong>TotalView</strong><br />

uses a Blue Gene-specific server launch string. You can define this launch<br />

string by setting the bluegene_server_launch_string <strong>TotalView</strong> variable or<br />

command-line option.<br />

You must set this variable in a tvdrc file. This differs from other <strong>TotalView</strong> launch<br />

strings, which you can set using the File > Preferences Dialog Box.<br />

The default value for the bluegene_server_launch_string variable is:<br />

–callback %L –set_pw %P -verbosity %V %F<br />

In this string, %L is the address of the front-end node interface used by the<br />

servers. The other substitution arguments have the same meaning as they<br />

do in a normal server launch string. These substitution arguments are discussed<br />

in Chapter 7 of the <strong>TotalView</strong> Reference <strong>Guide</strong>.<br />

Debugging LAM/MPI Applications<br />

In many cases, you can bypass the procedure described in this section. For more information,<br />

see “Debugging MPI Programs” on page 98.<br />

The following is a description of the LAM/MPI implementation of the MPI<br />

standard. Here are the first two paragraphs of Chapter 2 of the “LAM/MPI<br />

User’s <strong>Guide</strong>”. You can find You can obtain this document by going to the<br />

LAM documentation page, which is: http://www.lam-mpi.org/using/docs/.<br />

“LAM/MPI is a high-performance, freely available, open source implementation<br />

of the MPI standard that is researched, developed, and maintained<br />

at the Open Systems Lab at Indiana University. LAM/MPI supports all of<br />

<strong>TotalView</strong> <strong>Users</strong> <strong>Guide</strong>: version 8.6 119

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

Saved successfully!

Ooh no, something went wrong!