<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=192513115-20042007><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=192513115-20042007><FONT face=Arial 
color=#0000ff size=2>&nbsp;SMPD, by default, runs on the same port 
(8676)&nbsp;on all computers. However you can specify the port that smpd needs 
to run using the "-port" option while starting smpd (You can also ask smpd to 
run on any port assigned by OS using the "-anyport" option). The machine config 
file does not support specifying port names along with the machine name &amp; 
number of procs.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=192513115-20042007><FONT face=Arial 
color=#0000ff size=2>&nbsp;Instead of mapping the port numbers to IP+port you 
could&nbsp;allow connections from a certain list of client machines/IPs to 
certain port (say 8000)&nbsp;numbers on computer1/2/..</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=192513115-20042007><FONT face=Arial 
color=#0000ff size=2>&nbsp;Let us know if you require any further 
information.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=192513115-20042007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=192513115-20042007><FONT face=Arial 
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=192513115-20042007><FONT face=Arial 
color=#0000ff size=2>Jayesh</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov 
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Matt 
Valerio<BR><B>Sent:</B> Wednesday, April 18, 2007 11:04 AM<BR><B>To:</B> 
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] Re: Using MPICH2 on 
different ports<BR></FONT><BR></DIV>
<DIV></DIV>Ok, let me try to simplify the question.<BR><BR>Does smpd need to run 
on the same port on all computers?<BR>Can I tell mpiexec that it needs to 
connect to all of the smpd computers on different ports?<BR><BR>I know that the 
machine config file can specify different computers, but the same port.&nbsp; I 
am just curious if the machine config file can specify different computers as 
well as different ports. <BR><BR>Any help would be greatly apppreciated.&nbsp; 
Thanks!<BR>-Matt<BR><BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 4/16/07, <B class=gmail_sendername>Matt 
Valerio</B> &lt;<A href="mailto:matt.valerio@gmail.com">matt.valerio@gmail.com 
</A>&gt; wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hello 
  MPICH2 users,<BR><BR>I am wondering if there is a way to instruct mpiexec to 
  use multiple computers running smpd on different ports. <BR><BR>For example, I 
  have 10 computers behind a firewall.&nbsp; Each of those 10 computers is 
  running smpd on the same port (let's say 8000). <BR>I want to put rules into a 
  firewall computer that maps an externally-available port to the specific 
  computer<BR><BR>firewall:8001 ----(maps to)----------&gt; 
  computer1:8000<BR>firewall:8002 ----(maps to)----------&gt; computer2:8000 
  <BR>...<BR>firewall:8010 ----(maps to)----------&gt; 
  computer10:8000<BR><BR>Then in the machine configuration file, I need to be 
  able to tell mpiexec that it can use the same computer but different ports 
  (8000-8010), like<BR><BR>firewall:8001 
  <BR>firewall:8002<BR>...<BR>firewall:8010<BR><BR>etc.<BR><BR>Is this currently 
  possible?&nbsp; I know the machine file format is wrong because the number 
  after the colon specifies the number of processes, not the port number. 
  <BR><BR>Does anyone have any ideas as to whether this kind of thing could 
  work?&nbsp; Is there a better way?&nbsp; Any help would be greatly 
  appreciated.<BR><BR>Thanks!<BR><SPAN 
class=sg>-Matt<BR><BR><BR><BR></SPAN></BLOCKQUOTE></DIV><BR></BODY></HTML>