📄 node39.htm
字号:
<P>
pid:command line...
</dl>
<BR>
MANAGEMENT OPERATIONS
<P>
<dl>
<dt>
<b>hosts</b><dd>
<BR>
This command returns the hosts that the current mpd knows about.
<P>
Return value:
<P>
hostA,hostB,hostC,...
<P>
<dt>
<b>shutdown</b><dd>
<BR>
This command stops the mpd and closes the console connection. Do not use this command
unless you want to stop the mpd. You will have to run <tt>mpd -start</tt> to get the mpd to
start again. Use <tt>done</tt> to close a console session.
<P>
Return values:
<P>
nothing
<P>
<dt>
<b>restart</b><dd>
<BR>
This command restarts the mpd and closes the console connection. You will have to
reconnect to the mpd. Use <tt>done</tt> to close a console session.
<P>
Return values:
<P>
<tt>Restarting mpd...</tt>
<P>
<dt>
<b>done or quit</b><dd>
<BR>
This command closes the current console session with the mpd.
<P>
Return values:
<P>
nothing
<P>
<dt>
<b>set key=value</b><dd>
<BR>
This command sets the key/value pair in the mpd section of the registry. For example,
<tt>set temp=c: temp</tt> sets the temp directory for mpd files on all the nodes.
<P>
Return values:
<P>
nothing
<P>
<dt>
<b>get key</b><dd>
<BR>
This command gets the value of the key provided from the mpd section of the registry.
<P>
Return values:
<P>
value
<P>
<dt>
<b>delete key</b><dd>
<BR>
This command removes the specified key from the mpd section of the registry.
<P>
Return values:
<P>
nothing
<P>
<dt>
<b>version</b><dd>
<BR>
This command returns the version numbers and date of the mpd the console session is
connected to. For example: 1.2.3 Mar 2 2002
<P>
Return values:
<P>
release.major.minor date
<P>
<dt>
<b>mpich version</b><dd>
<BR>
This command returns the version numbers and date of the mpich dll on the host the
console session is connected to. For example: 1.2.4 Apr 12 2002
<P>
Return values:
<P>
release.major.minor date
<P>
<dt>
<b>config</b><dd>
<BR>
This command returns all the mpd registry key/value pairs on the host local to
the mpd.
<P>
Return values:
<P>
key=value...
<P>
<dt>
<b>print</b><dd>
<BR>
This command spits out a lot of internal state useful only for debugging mpd.
<P>
Return values:
<P>
internal state
<P>
<dt>
<b>stat {</b><em> param}</em></b><dd>
<BR>
This command reports internal information on the specified parameter where <em> param</em>
can be one of the following:
<BLOCKQUOTE><DL>
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
ps - running processes, command line, environment variables, working directory,
mpich rank, io redirection
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
launch - launch structures, id, process id, process state
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
config - mpd registry settings
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
context - open contexts, contexts are socket connections to the mpd - both
internal and external
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
tmp - temporary files
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
barrier - outstanding barriers
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
forwarders - forwarders open on this node, input port and output host:port
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*">
cached - cached user handles
</DL></BLOCKQUOTE>
<BR>
Return values:
<P>
internal state
<P>
<dt>
<b>setdbgoutput {</b><em> filename}</em></b><dd>
<BR>
This command redirects the output of the running mpd to a file. This is useful for
logging all the commands and operations that mpd processes and should only be used for
debugging mpd.
<P>
Return values:
<P>
SUCCESS, FAIL
<P>
<dt>
<b>canceldbgoutput</b><dd>
<BR>
This command cancels the redirection of mpd output.
<P>
Return values:
<P>
SUCCESS, FAIL
<P>
<dt>
<b>setmpduser a={</b><em> account}</em> p={<em> password}</em></b><dd>
<BR>
This command sets the mpd user account and password for anonymous launch requests. If
you don't supply either of the two parameters you will be prompted to enter them.
<P>
Return values:
<P>
SUCCESS, FAIL - error msg
<P>
<dt>
<b>clrmpduser</b><dd>
<BR>
This command removes the mpd user credentials and disables anonymous launch requests.
<P>
Return values:
<P>
SUCCESS, FAIL - error msg
<P>
<dt>
<b>enablempduser</b><dd>
<BR>
This command enables anonymous launch requests.
<P>
Return values:
<P>
SUCCES, FAIL - error msg
<P>
<dt>
<b>disablempduser</b><dd>
<BR>
This command disables anonymous launch requests.
<P>
Return values:
<P>
SUCCESS, FAIL - error msg
<P>
</dl>
<BR>
FILE OPERATIONS
<P>
The file operations are for moving files between hosts, creating temporary files
and one custom function for mpich.nt
<P>
<dl>
<dt>
<b>fileinit account=x password=x</b><dd>
<BR>
This command is the first command that must be issued before the other commands
can be used. File operations are done under the security context of this user.
If the password option is omitted, you will be prompted to input the password.
<P>
Return values:
<P>
nothing
<P>
<dt>
<b>putfile local=fullfilename remote=fullfilename replace=yes/no createdir=yes/no</b><dd>
<BR>
This command copies the file described by the local option to the location described
by the remote option. Both the local and remote options must specify complete paths
including file names. The replace and createdir options refer to the remote file.
replace=yes overwrites the remote file if it exists. createdir=yes causes the path
described by the remote option to be created if it doesn't exist. If replace and
createdir are not specified, the defaults are replace=yes and createdir=yes.
<P>
Return values:
<P>
<tt>SUCCESS</tt> or ``error message''
<P>
<dt>
<b>getfile remote=fullfilename local=fullfilename replace=yes/no createdir=yes/no</b><dd>
<BR>
This command copies the file described by the remote option to the location described
by the local option. Both the remote and local options must specify complete paths
including file names. The replace and createdir options refer to the local file.
replace=yes overwrites the local file if it exists. createdir=yes causes the path
described by the local option to be created if it doesn't exist. If replace and
createdir are not specified, the default values are replace=yes createdir=no.
<P>
Return values:
<P>
<tt>SUCCESS</tt> or ``error message''
<P>
<dt>
<b>getdir path=fullpath</b><dd>
<BR>
This command returns the names of the folders and files found in the directory on the
remote host described by the path option. The path must be a full path. The file
names are returned preceded by their file size like this: 1022 cathy.txt
<P>
Return values:
<P>
folders and sizes and filenames or and error message: <tt>ERROR: error message...</tt>
<P>
<dt>
<b>createtmpfile host=x</b><dd>
<BR>
This command creates a temporary file on the host specified and returns
the file name.
<P>
Return values:
<P>
filename
<P>
<dt>
<b>deletetmpfile host=x file=x</b><dd>
<BR>
This command deletes the file described by the file option on the host described by
the host option. The file option must specify the complete path to the file.
<P>
Return values:
<P>
<tt>SUCCESS</tt> or <tt>FAIL</tt>
<P>
<dt>
<b>mpich1readint host=x file=x</b><dd>
<BR>
This command is a custom function provided to allow mpd to launch mpich 1.2.3
applications and earlier. It reads an integer from the file that was written by
the root process during MPI_Init.
<P>
Return values:
<P>
integer
<P>
</dl>
<BR>
<P>
<HR>
<A HREF="node39.htm#Node41"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node39.htm#Node39"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node43.htm#Node43"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node39.htm#Node39"> MPD process launcher</a>
<b>Next: </b><A HREF="node43.htm#Node43"> <TT>mpich</TT> and threads</a>
<b>Previous: </b><A HREF="node39.htm#Node41"> Command line options</a>
<P>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -