Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Open MPI data transfer error
From: Jack Bryan (dtustudy68_at_[hidden])
Date: 2010-11-05 12:59:09


Thanks, I have used "cout" in c++ to print the values of data.
The sender sends correct data to correct receiver.
But, receiver gets wrong data from correct sender.
why ?
thanks
Nov. 5 2010
> Date: Fri, 5 Nov 2010 08:54:22 -0400
> From: prentice_at_[hidden]
> To: users_at_[hidden]
> Subject: Re: [OMPI users] Open MPI data transfer error
>
> Jack Bryan wrote:
> >
> > Hi,
> >
> > In my Open MPI program, one master sends data to 3 workers.
> >
> > Two workers can receive their data.
> >
> > But, the third worker can not get their data.
> >
> > Before sending data, the master sends a head information to each worker
> > receiver
> > so that each worker knows what the following data package is. (such as
> > length, package tag).
> >
> > The third worker can get its head information message from master but
> > cannot get its correct
> > data package.
> >
> > It got the data that should be received by first worker, which get its
> > correct data.
> >
>
>
> Jack,
>
> Providing the relevant sections of code here would be very helpful.
>
> <inside joke>
> I would tell you to add some printf statements to your code to see what
> data is stored in your variables on the master before it sends them to
> each node, but Jeff Squyres and I agreed to disagree in a civil manner
> on that debugging technique earlier this week, and I'd hate to re-open
> those old wounds by suggesting that technique here. ;)
> </inside joke>
>
> --
> Prentice
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users