⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node29.htm

📁 空间物理学研究需要有并行的环境
💻 HTM
字号:
<HTML>
<HEAD>
<!-- This file was generated by tohtml from mpichntman.tex -->
<!-- with the command
tohtml -default -dosnl -gaudy -basedef mpiman.def mpichntman.tex 
-->
<TITLE>Configuration tool</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<HR><H2><A NAME="Node29">Configuration tool</a></H2>
<A HREF="node28.htm#Node28"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node23.htm#Node23"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node29.htm#Node30"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node23.htm#Node23"> Tools</a>
<b>Next: </b><A HREF="node29.htm#Node30"> Create the host list</a>
<b>Previous: </b><A HREF="node28.htm#Node28"> MPIRegister tool</a>
<P>
The configuration tool is a graphical interface to the registry settings that control  
some of runtime configurable options to <TT>mpich</TT>.  
<P> 
In order to run an application on various hosts without specifying the hosts in a   
configuration file, the launcher needs to know all the hosts it has been installed on.     
MPIConfig.exe can find the hosts where the launcher has been   
installed and write this list of hosts to the registry.  With this information   
mpirun can pick hosts from the list in the registry when determining where to launch   
processes.  
<P> 
A shortcut to the configuration tool is found here:<BR>  
start-<I>&gt;</I>programs-<I>&gt;</I>MPICH-<I>&gt;</I>mpd-<I>&gt;</I>MPICH Configuration tool.<BR>  
See Figure <a href="node29.htm#Figure2">2 
</a> for a snapshot of the tool.  
<P> 
<CENTER><P><IMG WIDTH=352 HEIGHT=292 SRC="mpiconfig.gif"><P>
</CENTER>  
<BR> 
<b>Figure 2: </b><A NAME="Figure2">MPICH Configuration tool</a><P> 
  
  
<menu> 
</menu> 

<P>
<HR>
<A HREF="node28.htm#Node28"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node23.htm#Node23"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node29.htm#Node30"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node23.htm#Node23"> Tools</a>
<b>Next: </b><A HREF="node29.htm#Node30"> Create the host list</a>
<b>Previous: </b><A HREF="node28.htm#Node28"> MPIRegister tool</a>
<P>
<HR><H3><A NAME="Node30">Create the host list</a></H3>
<A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node29.htm#Node31"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<b>Next: </b><A HREF="node29.htm#Node31"> Select the options to configure</a>
<b>Previous: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<P>
Section 1 of the dialog has a list that needs to be filled with the hostnames where   
mpd has been installed.  
Use the buttons and/or type host names directly into the edit box to create the list.  
<P> 
Add button: Adds the host name from the edit box to the list  
<P> 
Select button: Bring up a dialog to select host names from the network.  
<P> 

<P>
<HR>
<A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node29.htm#Node31"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<b>Next: </b><A HREF="node29.htm#Node31"> Select the options to configure</a>
<b>Previous: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<P>
<HR><H3><A NAME="Node31">Select the options to configure</a></H3>
<A HREF="node29.htm#Node30"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node29.htm#Node32"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<b>Next: </b><A HREF="node29.htm#Node32"> Apply the settings</a>
<b>Previous: </b><A HREF="node29.htm#Node30"> Create the host list</a>
<P>
Section 2 of the dialog contains the list of options that can be configured.  
<BLOCKQUOTE><DL> 
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
If you check the hosts box, mpiconfig makes a group out of all the selected hosts and   
writes this list of host names to the registry on each host.  When mpirun is executed   
with the -np option from any host in a group, hosts will be selected from the list in   
round robin fashion.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The launch timeout specifies how long MPIRun will wait before it determines that it is   
unable to launch a process.  The time is in seconds.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
Specify a job host if you want mpirun to send job information to an mpd running on the   
specified host.  With this enabled, you can use the MPIJob tools to view where jobs are   
running, what state they are in, and you can kill errant jobs.  Since the job database is   
stored in the mpd running on the specified host, the host you input here must have   
an mpd installed and running on it.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The rank based colored output checkbox enables/disables colorized output.  There are 32   
colors that are given out to the ranks in round robin fashion.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The logon dots check is for mpirun to display .... while decrypting passwords.  It is   
essentially a progress indicator to tell the user that mpirun has not hung.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The mimic local drive mapping is for when mpirun is executed from a network mapped   
drive.  With this option enabled, mpirun tries to make the same mapping on the remote   
hosts where it launches processes.  For example you might have the Z: drive mapped to   
<IMG WIDTH=268 HEIGHT=144 SRC="img56.xbm">
<IMG WIDTH=120 HEIGHT=52 SRC="img57.xbm">
myserver<IMG WIDTH=177 HEIGHT=106 SRC="img58.xbm">
myhome.  If you execute mpirun from the   
Z:<IMG WIDTH=5 HEIGHT=11 SRC="img59.xbm">
 directory, mpirun will attempt to map Z: to   
<IMG WIDTH=5 HEIGHT=11 SRC="img60.xbm">
<IMG WIDTH=5 HEIGHT=11 SRC="img61.xbm">
myserver<IMG WIDTH=5 HEIGHT=11 SRC="img62.xbm">
myhome on the remote machines before   
launching processes.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The 'display system dialog ...' check only applies to jobs run on a single machine with  
the -localonly option to mpirun.  Disable this option to prevent the system from showing   
dialog boxes when processes crash.  This is useful if you have a script running jobs and  
you don't want it to hang waiting for an error dialog box to be closed.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The 'catch unhandled exceptions' option causes mpd to watch each process as it is running  
and report if an unhandled exception has caused a process to exit.  Normally, processes  
simply exit when an unhandled exception occurs.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The 'mpirun prints the exitcodes' option causes mpirun to print the exit code of each process  
as it exits.  Lines like:  
<BR> 
<pre><tt>[rank 2 exit code: 0] 
</tt></pre> 
will be inserted in the standard output of mpirun.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The 'redirect mpd output to log' causes mpd to redirect all of its internal output messages  
to the log file specified.  The log file must reside on the local hard drive.  This file can  
get large quickly if you run a lot of jobs.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
The 'enable -localroot option by default' causes mpirun to use the localroot option if it   
is not specified on the command line.  The localroot option causes the root process to be  
launched by mpirun instead of mpd if mpirun is on the same node as the root.  This allows  
the root process to bring up visible windows.  The disadvantage of the option is that the  
root process cannot use shared memory to reach the rest of the processes on the same node  
and it reverts to sockets.  
</DL></BLOCKQUOTE> 
<BR> 

<P>
<HR>
<A HREF="node29.htm#Node30"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node29.htm#Node32"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<b>Next: </b><A HREF="node29.htm#Node32"> Apply the settings</a>
<b>Previous: </b><A HREF="node29.htm#Node30"> Create the host list</a>
<P>
<HR><H3><A NAME="Node32">Apply the settings</a></H3>
<A HREF="node29.htm#Node31"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node33.htm#Node33"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<b>Next: </b><A HREF="node33.htm#Node33"> Update tool</a>
<b>Previous: </b><A HREF="node29.htm#Node31"> Select the options to configure</a>
<P>
<BLOCKQUOTE><DL> 
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
Apply button:  
<P> 
All the hosts are contacted and the selected settings are set.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
Apply single:  
<P> 
The selected host from the host list is contacted and the selected settings are set.    
This option would be useful to set an option on a single node without affecting the   
settings on the rest of the nodes.  
<P> 
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
Password  
<P> 
If you installed mpd manually and set the passphrase to something other than the   
default, enter it here.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
Show host configuration:  
<P> 
Check this box to show the configuration of the currently selected host.  
 
<DT><IMG WIDTH=14 HEIGHT=14 SRC="purpleball.gif" ALT="*"> 
Modify:  
<P> 
You can change individual options on the currently selected host by checking   
the option you want to change and then hit the modify button.  
</DL></BLOCKQUOTE> 
<BR> 

<P>
<HR>
<A HREF="node29.htm#Node31"><IMG WIDTH=16 HEIGHT=16 SRC="previous.xbm"></A><A HREF="node29.htm#Node29"><IMG WIDTH=16 HEIGHT=16 SRC="up.xbm"></A><A HREF="node33.htm#Node33"><IMG WIDTH=16 HEIGHT=16 SRC="next.xbm"></A><BR>
<b>Up: </b><A HREF="node29.htm#Node29"> Configuration tool</a>
<b>Next: </b><A HREF="node33.htm#Node33"> Update tool</a>
<b>Previous: </b><A HREF="node29.htm#Node31"> Select the options to configure</a>
<P>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -