[OMPI users] Multiple Communicators for communication

2012-06-14 Thread Ramesh Vinayagam
Hi, I was wondering is there a way to communicate between two processes with two different communicators simultaneously in MPI? Like having two channels for communication? Please do let me know. Thanks, Ramesh

Re: [OMPI users] Multiple Communicators for communication

2012-06-15 Thread Jeff Squyres
On Jun 14, 2012, at 8:43 PM, Ramesh Vinayagam wrote: > I was wondering is there a way to communicate between two processes with two > different communicators simultaneously in MPI? Like having two channels for > communication? I'm not quite sure what you're asking. Are you asking if it's possi

Re: [OMPI users] Multiple Communicators for communication

2012-06-15 Thread Ramesh Vinayagam
Thanks Jeff, I was looking more into this scenario : if (rank ==0){ MPI_Send(&tmp,2048, MPI_INT, 1,123, myComm); MPI_Recv(&tmp2,2048, MPI_INT, 1,321, MPI_COMM_WORLD, MPI_STATUS_IGNORE); } if (rank == 1){ MPI_Send(&tmp1,2048, MPI_INT, 0,321, MPI_COMM_WO

Re: [OMPI users] Multiple Communicators for communication

2012-06-15 Thread Jeff Squyres
On Jun 15, 2012, at 4:38 PM, Ramesh Vinayagam wrote: > I was looking more into this scenario : > > if (rank ==0){ > MPI_Send(&tmp,2048, MPI_INT, 1,123, myComm); > MPI_Recv(&tmp2,2048, MPI_INT, 1,321, > MPI_COMM_WORLD, MPI_STATUS_IGNORE); > } > if (rank == 1){