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.

Starting the <strong>TotalView</strong> Server Manually<br />

#<br />

command tvdsvr<br />

invoke /opt/totalview/bin/tvdsvr %ALLARGS<br />

user %USER<br />

group %GROUP<br />

project %PROJECT<br />

If your code is not in /opt/totalview/bin, you will need to change this information.<br />

For information on the syntax of the tvdsvr command, see<br />

“<strong>TotalView</strong> Debugger Server (tvdsvr) Command Syntax” in the <strong>TotalView</strong> Reference<br />

<strong>Guide</strong>.<br />

Setting Bulk Server Launch on an HP Alpha Computer<br />

The following is the bulk launch string on an HP Alpha computer:<br />

prun –T %Z %B/tvdsvr –callback_host %H \<br />

–callback_ports %L –set_pws %P \<br />

–verbosity %V –working_directory %D<br />

Information on the options and expansion symbols is in the “<strong>TotalView</strong> Debugger<br />

Server (tvdsvr) Syntax” chapter of the <strong>TotalView</strong> Reference <strong>Guide</strong>.<br />

Setting Bulk Server Launch on a Cray XT Series<br />

Computer<br />

The following is the bulk server launch string for Cray XT series computers:<br />

svrlaunch %B/tvdsvrmain%K -verbosity %V %F %H \<br />

%t1 %I %K<br />

where the options unique to this command are:<br />

%B The bin directory where tvdsvr resides.<br />

%K The number of servers that <strong>TotalView</strong> launches.<br />

–verbosity %V Sets the verbosity level of the tvdsvr. %V expands to<br />

the current verbosity setting. For information on verbosity,<br />

see the “Variables” chapter within the <strong>TotalView</strong><br />

Reference <strong>Guide</strong>.<br />

%F<br />

Contains the “tracer configuration flags” that need to<br />

be sent to tvdsvr processes. These are system-specific<br />

startup options that the tvdsvr process needs.<br />

%H Expands to the host name of the machine upon which<br />

<strong>TotalView</strong> is running.<br />

%t1 A temporary file created by <strong>TotalView</strong> that contains a<br />

list of the hosts on which tvdsvr runs. This is the information<br />

you enter in the Temp File 1 Prototype field on<br />

the Bulk Launch Page.<br />

%I Expands to the pid of the MPI starter process. For example,<br />

it can contain mpirun, aprun, etc. It can also be<br />

the process to which you manually attach. If no pid is<br />

available, %I expands to 0.<br />

90 Chapter 5: Setting Up Remote Debugging Sessions

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

Saved successfully!

Ooh no, something went wrong!