<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'>



<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>Hi,<BR><div><div dir="ltr"><div>&nbsp;</div><div>I'm using windows 7 and i'm running the two applications using the commands: mpiexec -n 1&nbsp;manager and mpiexec -n 1 worker. and for the code it is attached to this email</div><div>&nbsp;</div><div>thanks &amp; regards,&nbsp;</div><div>Toufik<br><div><div id="ecxSkyDrivePlaceholder"></div>&gt; Date: Wed, 4 Apr 2012 13:00:15 -0500<br>&gt; From: jayesh@mcs.anl.gov<br>&gt; To: h_toufik7@hotmail.fr<br>&gt; CC: mpich-discuss@mcs.anl.gov<br>&gt; Subject: Re: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator<br>&gt; <br>&gt; Hi,<br>&gt;  How are you running your programs (Copy-paste the commands)? Are you running your code on Unix or Windows?<br>&gt; <br>&gt; Regards,<br>&gt; Jayesh<br>&gt; ----- Original Message -----<br>&gt; From: "toufik hadjazi" &lt;h_toufik7@hotmail.fr&gt;<br>&gt; To: jayesh@mcs.anl.gov<br>&gt; Sent: Wednesday, April 4, 2012 12:31:05 PM<br>&gt; Subject: RE: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator<br>&gt; <br>&gt; <br>&gt; Hi Jayesh, <br>&gt; <br>&gt; <br>&gt; I tried that but it didn't work, when i run the program it stops at MPI_Comm_spawn, i don't why. <br>&gt; <br>&gt; <br>&gt; best regards, <br>&gt; Toufik <br>&gt; <br>&gt; <br>&gt; <br>&gt; &gt; Date: Tue, 3 Apr 2012 10:36:56 -0500 <br>&gt; &gt; From: jayesh@mcs.anl.gov <br>&gt; &gt; To: mpich-discuss@mcs.anl.gov <br>&gt; &gt; CC: h_toufik7@hotmail.fr <br>&gt; &gt; Subject: Re: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator <br>&gt; &gt; <br>&gt; &gt; Hi, <br>&gt; &gt; Did you try MPI_Intercomm_merge() after spawn and using the resulting intracommunicator for further spawns? <br>&gt; &gt; <br>&gt; &gt; Regards, <br>&gt; &gt; Jayesh <br>&gt; &gt; <br>&gt; &gt; ----- Original Message ----- <br>&gt; &gt; From: "toufik hadjazi" &lt;h_toufik7@hotmail.fr&gt; <br>&gt; &gt; To: mpich-discuss@mcs.anl.gov <br>&gt; &gt; Sent: Tuesday, April 3, 2012 8:20:52 AM <br>&gt; &gt; Subject: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Hi, <br>&gt; &gt; my program is a client/server application when the client connects to the server than the server starts to use mpi_comm_spawn to launch other clients(clients are launched, one after other not in the same time, when conditions are satisfied) and i need all clients and the server to be in the same intracommunicator. so, does anybody knows some tricks to do that? <br>&gt; &gt; regards, <br>&gt; &gt; Toufik <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; _______________________________________________ <br>&gt; &gt; mpich-discuss mailing list mpich-discuss@mcs.anl.gov <br>&gt; &gt; To manage subscription options or unsubscribe: <br>&gt; &gt; https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss <br></div></div>                                               </div></div>                                               </div></body>
</html>