When placing a tvdsvr command in a
Server Launch string, you will need to use special replacement characters. When your program needs to launch a remote process, MemoryScape replaces these command characters with what they represent. Here are the replacement characters:
Is replaced by the name of the server launch command being used. On most platforms, this is
rsh. On HP, this command is
remsh. If the
TVDSVRLAUNCHCMD environment variable exists, MemoryScape will use its value instead of its platform-specific value.
Contains the “tracer configuration flags” that need to be sent to tvdsvr processes. These are system-specific startup options that the
tvdsvr process needs.
Expands to the pid of the MPI starter process. (This process is the one that hit the MemoryScape MPIR_Breakpoint.) It can also be the process to which you manually attach. If no
pid is available,
%I expands to 0.
Expands to the job ID. For MPICH or poe jobs, is the contents of the totalview_jobid variable contained either in the starter or first process. If that variable does not exist, it is set to zero (“0”). If it is not appropriate for the kind of job being launched, its value is -1.
If MemoryScape is launching one process, this is replaced by the host name and TCP/IP port number (
hostname:
port) on which MemoryScape is listening for connections from
tvdsvr.
Expands to the job ID. For MPICH or poe jobs, is the contents of the totalview_jobid variable contained either in the starter or first process. If that variable does not exist, it is set to zero (“0”). If it is not appropriate for the kind of job being launched, its value is -1.