[MPICH] Re: Using MPICH2 on different ports

Jayesh Krishna jayesh at mcs.anl.gov
Fri Apr 20 10:56:08 CDT 2007


Hi,
 SMPD, by default, runs on the same port (8676) 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 & number of procs.
 Instead of mapping the port numbers to IP+port you could allow connections
from a certain list of client machines/IPs to certain port (say 8000)
numbers on computer1/2/..
 Let us know if you require any further information.
 
Regards,
Jayesh

  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Matt Valerio
Sent: Wednesday, April 18, 2007 11:04 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] Re: Using MPICH2 on different ports


Ok, let me try to simplify the question.

Does smpd need to run on the same port on all computers?
Can I tell mpiexec that it needs to connect to all of the smpd computers on
different ports?

I know that the machine config file can specify different computers, but the
same port.  I am just curious if the machine config file can specify
different computers as well as different ports. 

Any help would be greatly apppreciated.  Thanks!
-Matt




On 4/16/07, Matt Valerio <matt.valerio at gmail.com
<mailto:matt.valerio at gmail.com> > wrote: 

Hello MPICH2 users,

I am wondering if there is a way to instruct mpiexec to use multiple
computers running smpd on different ports. 

For example, I have 10 computers behind a firewall.  Each of those 10
computers is running smpd on the same port (let's say 8000). 
I want to put rules into a firewall computer that maps an
externally-available port to the specific computer

firewall:8001 ----(maps to)----------> computer1:8000
firewall:8002 ----(maps to)----------> computer2:8000 
...
firewall:8010 ----(maps to)----------> computer10:8000

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

firewall:8001 
firewall:8002
...
firewall:8010

etc.

Is this currently possible?  I know the machine file format is wrong because
the number after the colon specifies the number of processes, not the port
number. 

Does anyone have any ideas as to whether this kind of thing could work?  Is
there a better way?  Any help would be greatly appreciated.

Thanks!
-Matt






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070420/fd37c8d9/attachment.htm>


More information about the mpich-discuss mailing list