[mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator

toufik hadjazi h_toufik7 at hotmail.fr
Thu Apr 5 03:32:11 CDT 2012






Hi, I'm using windows 7 and i'm running the two applications using the commands: mpiexec -n 1 manager and mpiexec -n 1 worker. and for the code it is attached to this email thanks & regards, Toufik
> Date: Wed, 4 Apr 2012 13:00:15 -0500
> From: jayesh at mcs.anl.gov
> To: h_toufik7 at hotmail.fr
> CC: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator
> 
> Hi,
>  How are you running your programs (Copy-paste the commands)? Are you running your code on Unix or Windows?
> 
> Regards,
> Jayesh
> ----- Original Message -----
> From: "toufik hadjazi" <h_toufik7 at hotmail.fr>
> To: jayesh at mcs.anl.gov
> Sent: Wednesday, April 4, 2012 12:31:05 PM
> Subject: RE: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator
> 
> 
> Hi Jayesh, 
> 
> 
> I tried that but it didn't work, when i run the program it stops at MPI_Comm_spawn, i don't why. 
> 
> 
> best regards, 
> Toufik 
> 
> 
> 
> > Date: Tue, 3 Apr 2012 10:36:56 -0500 
> > From: jayesh at mcs.anl.gov 
> > To: mpich-discuss at mcs.anl.gov 
> > CC: h_toufik7 at hotmail.fr 
> > Subject: Re: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator 
> > 
> > Hi, 
> > Did you try MPI_Intercomm_merge() after spawn and using the resulting intracommunicator for further spawns? 
> > 
> > Regards, 
> > Jayesh 
> > 
> > ----- Original Message ----- 
> > From: "toufik hadjazi" <h_toufik7 at hotmail.fr> 
> > To: mpich-discuss at mcs.anl.gov 
> > Sent: Tuesday, April 3, 2012 8:20:52 AM 
> > Subject: [mpich-discuss] get several children of mpi_comm_spawn into one intracommunicator 
> > 
> > 
> > 
> > Hi, 
> > 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? 
> > regards, 
> > Toufik 
> > 
> > 
> > 
> > _______________________________________________ 
> > mpich-discuss mailing list mpich-discuss at mcs.anl.gov 
> > To manage subscription options or unsubscribe: 
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120405/eac7013e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Manager.cpp
Type: text/x-c
Size: 1145 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120405/eac7013e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Worker.cpp
Type: text/x-c
Size: 867 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120405/eac7013e/attachment-0001.bin>


More information about the mpich-discuss mailing list