<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi, <BR> <BR>i tried to do like you told me ( save the port name into a text file and read it back as an alternative for mpi_publish/lookup_name) but i encountred a problem, when i run the program it gives me the message: "job aborted" ! and when i observed the operation i found that the file pointer on fopen is NULL, so, i'm confused what the problem could be?<BR> <BR>one more thing, when i was reading some documentation, i found that we could specify a range for MPI_Open_port with the envirenment variable MPI_PORT_RANGE so i thought maybe i could fix the port using this variable as an example : 2033..2033 in order to have the port 2033 but i don't know how to do that!<BR> <BR>thanks & regards,<BR>Toufik <br> <BR><div>> Date: Mon, 2 Apr 2012 14:44:22 -0500<br>> From: jayesh@mcs.anl.gov<br>> To: h_toufik7@hotmail.fr<br>> CC: mpich-discuss@mcs.anl.gov<br>> Subject: Re: [mpich-discuss] client server application on windows7<br>> <br>> Hi,<br>> Please install MPICH2 on all the machines/nodes where your job (MPI processes) is launched and run your job (Specify the list of nodes using a machine file - See Windows developers guide,http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs, for details).<br>> <br>> Regards,<br>> Jayesh<br>> <br>> ----- Original Message -----<br>> From: "toufik hadjazi" <h_toufik7@hotmail.fr><br>> To: jayesh@mcs.anl.gov<br>> Sent: Monday, April 2, 2012 12:41:14 PM<br>> Subject: RE: [mpich-discuss] client server application on windows7<br>> <br>> <br>> Hi Jayesh, <br>> thanks for your answer, but the problem is my application will be used in a cluster so the client and the server won't be on the same pc. so, i'm wondering if there is another implmentation of MPI that support this functionnality? <br>> <br>> <br>> <br>> > Date: Mon, 2 Apr 2012 12:27:49 -0500 <br>> > From: jayesh@mcs.anl.gov <br>> > To: mpich-discuss@mcs.anl.gov <br>> > CC: h_toufik7@hotmail.fr <br>> > Subject: Re: [mpich-discuss] client server application on windows7 <br>> > <br>> > Hi, <br>> > The process manager with MPICH2 on Windows (SMPD) does not support publish/lookup across different jobs. You will have to publish/lookup the port name yourself (Write port string from MPI_Open_port() to a text file and read it etc.). <br>> > <br>> > Regards, <br>> > Jayesh <br>> > <br>> > ----- Original Message ----- <br>> > From: "toufik hadjazi" <h_toufik7@hotmail.fr> <br>> > To: mpich-discuss@mcs.anl.gov <br>> > Sent: Monday, April 2, 2012 11:54:13 AM <br>> > Subject: [mpich-discuss] client server application on windows7 <br>> > <br>> > <br>> > <br>> > Hi guys, <br>> > <br>> > I am trying to build a simple client/server application on windows 7 using Visual Studio where the server and the client are run by two different mpiexec and it worked well, but when i introduced mpi_publish_name and mpi_lookup_name the client couldn't find the port associated with the name service, knowing that these tow functions work well when they are in the same programme, i thought that maybe there is a kind of scope for those functions. <br>> > so, could any body help me with it. <br>> > <br>> > and thanks. <br>> > _______________________________________________ <br>> > mpich-discuss mailing list mpich-discuss@mcs.anl.gov <br>> > To manage subscription options or unsubscribe: <br>> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss <br></div>                                            </div></body>
</html>