<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=204193315-23092009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=204193315-23092009> From the code it looks like the info key,
"ip_port", is not yet implemented for MPI_Open_port().</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=204193315-23092009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=204193315-23092009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=204193315-23092009>Jayesh</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>John
Biddiscombe<BR><B>Sent:</B> Wednesday, September 23, 2009 9:46 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re: [mpich-discuss]
MPI_Publish_name/Open_port on windows<BR></FONT><BR></DIV>
<DIV></DIV>Jayesh <BR><BR> MPI_Info_create
(&info);<BR> MPI_Info_set( info, "ip_port",
"1957");<BR><BR>doesn't work either - by which we mean it doesn't give us the
port we asked for. Is this simply a case of "nobody implemented it" and if we
modify the source to check for the info key we can make it work - in which case
we'll patch the source and recompile. <BR><BR>Thanks<BR><BR>JB<BR><BR><BR>
<BLOCKQUOTE cite=mid:A9C45EA55573451AA41B9C557DBEDE67@mcs.anl.gov type="cite">
<P><FONT size=2> You can try opening an MPI port and writing the port
name returned to a file and have the other processes read it (Now you have to
make sure that only one process writes to the file OR have some locking
mechanism to modify the file).<BR><BR>Regards,<BR>Jayesh<BR><BR>-----Original
Message-----<BR>From: <A class=moz-txt-link-abbreviated
href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</A>
[<A href="mailto:mpich-discuss-bounces@mcs.anl.gov"
moz-do-not-send="true">mailto:mpich-discuss-bounces@mcs.anl.gov</A>] On Behalf
Of Jerome Soumagne<BR>Sent: Wednesday, September 23, 2009 7:20 AM<BR>To: <A
class=moz-txt-link-abbreviated
href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</A><BR>Subject:
[mpich-discuss] MPI_Publish_name/Open_port on windows<BR><BR>Hi,<BR><BR>I'm
using MPI_Comm_connect and accept to create the communication between 2
different applications (simulation and visualization apps) and I have 2
questions:<BR><BR>- on Linux, I use Open_port/Publish_name/Lookup_name to get
the ip/port from an app server registered in the same mpd ring - this works
fine.<BR>The problem comes from Windows with the smpd daemon, whenever I try
to connect 2 simple tests (client/server), the client never finds the
registered name. However the smpd service is up and running. Is there a way to
tell the smpd service to use the same features of the mpd daemon so that I
could still use Publish_name and Lookup_name?<BR><BR>- Instead of using
Publish_name/Lookup_name, I tried to simply define a port with MPI_Open_port
specifying an Info argument but it does not work, how could I specify an
ip/port to use? I want to always use the same specific port and the
MPI_PORT_RANGE environment variable only allows me to specify a range of
ports. Depending on some other MPI processes running on the same machine for
different tasks, I then get different ports and if I try to have an
MPI_PORT_RANGE like this :<BR>2646:2646, the other MPI processes crash because
they don't have any available socket. How can I tell the MPI_Open_port
function to use a defined port?<BR><BR>I thank you very much in
advance.<BR><BR>Jerome Soumagne<BR><BR>--<BR>Jérôme Soumagne<BR>CSCS, Swiss
National Supercomputing Centre Galleria 2, Via Cantonale | Tel: +41
(0)91 610 8258<BR>CH-6928 Manno, Switzerland | Fax: +41 (0)91 610
8282<BR><BR><BR></FONT></P></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="78">--
John Biddiscombe, email:biddisco @ cscs.ch
<A class=moz-txt-link-freetext href="http://www.cscs.ch/">http://www.cscs.ch/</A>
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82</PRE></BODY></HTML>