Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-16 Thread Jeff Squyres
pen MPI Users > <us...@open-mpi.org> > Sent: Saturday, July 16, 2011 5:25 AM > Subject: Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE. > > I have to agree with Jeff, we really need a complete program to really debug > this. Note, without really seeing what t

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-16 Thread Mudassar Majeed
..!! P5 P7 >> Neither ...!! P7 >> I could reach here ...!! P14 >> I could reach here ...!! P1 >> Received from P7, packet contains rank: 11 P1 >> I could reach here ...!! P9 >> I could reach here ...!! P2 >> Received from P11, packet contains rank: 13

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-16 Thread Terry Dontje
P1>> I could reach here ...!! P9>> I could reach here ...!! P2>> Received from P11, packet contains rank: 13 P2>> I could reach here ...!! P0>> I could reach here ...!! P11>> I could reach here ...!! P3>> I could reach here ...!! reg

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Jeff Squyres
gt;> I could reach here ...!! > > P14 >> I could reach here ...!! > > P1 >> Received from P7, packet contains rank: 11 > > P1 >> I could reach here ...!! > > P9 >> I could reach here ...!! > P2 >> Received from P11, packet contains rank:

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Mudassar Majeed
; > A "kernel" that I am talking about is a small piece of code someone can build and run to see the problem. See the code is very clear and it sends the message to "rec_rank" that was displayed before sending the message. But on the receiver side the MPI_SOURCE

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Terry Dontje
ay it should and if not you can show us where it is going wrong. --td On 7/15/2011 6:51 AM, Mudassar Majeed wrote: > I get the sender's rank in status.MPI_SOURCE, but it is different than > expected. I need to receive that message which was sent to me, not any > message. > > regards,

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Mudassar Majeed
MPI system. regards, Mudassar From: Terry Dontje <terry.don...@oracle.com> To: Mudassar Majeed <mudassar...@yahoo.com> Cc: "us...@open-mpi.org" <us...@open-mpi.org> Sent: Friday, July 15, 2011 7:10 PM Subject: Re: [OMPI users] Ur

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Eugene Loh
I'm going to echo what you've already heard here: it is impossible for a process to receive a message that was sent to a different process. A sender must specify a unique destination. No process other than the destination process will see that message. In what you write below, why do you

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Terry Dontje
of the problem it is going to be nearly impossible for us to tell you what is wrong. --td regards, Mudassar Date: Fri, 15 Jul 2011 07:04:34 -0400 From: Terry Dontje <terry.don...@oracle.com <mailto:terry.don...@oracle.com>> Subject: Re: [OMPI users] Urgent Question regarding, MPI_ANY_SO

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Mudassar Majeed
the destination as this process. regards, Mudassar Date: Fri, 15 Jul 2011 07:04:34 -0400 From: Terry Dontje <terry.don...@oracle.com> Subject: Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE. To: us...@open-mpi.org Message-ID: <4e201ec2@oracle.com> Content-Type: text/plain; chars

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Jeffrey A Cummings
quy...@cisco.com> To: Open MPI Users <us...@open-mpi.org> List-Post: users@lists.open-mpi.org Date: 07/15/2011 07:36 AM Subject: Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE. Sent by:users-boun...@open-mpi.org +1 I reiterate what I said before: >> >

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Jeff Squyres
t to have same >> > behavior. But it seems that it is not possible in MPI. Isn't it? >> > >> > regards, >> > Mudassar >> > >> > >> > *From:* Jeff Squyres <jsquy.

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Terry Dontje
<mailto:mudassar...@yahoo.com>> > *Cc:* Open MPI Users <us...@open-mpi.org <mailto:us...@open-mpi.org>> > *Sent:* Friday, July 15, 2011 3:30 AM > *Subject:* Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE. > > Right. I thought you were asking about r

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Mudassar Majeed
it seems that it is not possible in MPI. Isn't it? > > regards, > Mudassar > > > *From:* Jeff Squyres <jsquy...@cisco.com> > *To:* Mudassar Majeed <mudassar...@yahoo.com> > *Cc:* Open MPI Users <us...@open-mpi.org> > *Sent:* Friday, July 15, 2011 3:30

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-15 Thread Terry Dontje
y 15, 2011 3:30 AM *Subject:* Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE. Right. I thought you were asking about receiving *another* message from whomever you just received from via ANY_SOURCE. If you want to receive from a specific sender, you just specify the rank you wa

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-14 Thread Mudassar Majeed
, Mudassar From: Jeff Squyres <jsquy...@cisco.com> To: Mudassar Majeed <mudassar...@yahoo.com> Cc: Open MPI Users <us...@open-mpi.org> Sent: Friday, July 15, 2011 3:30 AM Subject: Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE. Rig

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-14 Thread Jeff Squyres
ot targetted for it). > > regards, > Mudassar > > > From: Jeff Squyres <jsquy...@cisco.com> > To: Mudassar Majeed <mudassar...@yahoo.com>; Open MPI Users > <us...@open-mpi.org> > Sent: Friday, July 15, 2011 1:58 AM > Subject: Re: [OMPI users] Urgent

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-14 Thread Mudassar Majeed
com> To: Mudassar Majeed <mudassar...@yahoo.com>; Open MPI Users <us...@open-mpi.org> Sent: Friday, July 15, 2011 1:58 AM Subject: Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE. When you use MPI_ANY_SOURCE in a receive, the rank of the actual sender is

Re: [OMPI users] Urgent Question regarding, MPI_ANY_SOURCE.

2011-07-14 Thread Jeff Squyres
When you use MPI_ANY_SOURCE in a receive, the rank of the actual sender is passed back to you in the status.MPI_SOURCE. On Jul 14, 2011, at 7:55 PM, Mudassar Majeed wrote: > Hello people, > I am trapped in the following problem plz help me. > Suppose a process A sends