Re: [OMPI users] How to "guess" the incoming data type ?

2010-04-26 Thread Jed Brown
On Sun, 25 Apr 2010 20:38:54 -0700, Eugene Loh wrote: > Could you encode it into the tag? This sounds dangerous. > Or, append a data type to the front of each message? This is the idea, unfortunately this still requires multiple messages for collectives (because you

Re: [OMPI users] How to "guess" the incoming data type ?

2010-04-26 Thread Sylvestre Ledru
Le lundi 26 avril 2010 à 16:51 +0100, Dave Love a écrit : > Sylvestre Ledru writes: > > > I am currently extending an application with MPI capabilities. > > This high-level application allows users to use dynamic types. Therefor, > > on the slaves, I have no way to

Re: [OMPI users] How to "guess" the incoming data type ?

2010-04-26 Thread Dave Love
Sylvestre Ledru writes: > I am currently extending an application with MPI capabilities. > This high-level application allows users to use dynamic types. Therefor, > on the slaves, I have no way to know what the master will send me. Have you looked at existing MPI

Re: [OMPI users] How to "guess" the incoming data type ?

2010-04-26 Thread Eugene Loh
Sylvestre Ledru wrote: Hello, I am currently extending an application with MPI capabilities. This high-level application allows users to use dynamic types. Therefor, on the slaves, I have no way to know what the master will send me. Therefor, in the slave side, I need to "guess" what I am

Re: [OMPI users] How to "guess" the incoming data type ?

2010-04-25 Thread Trent Creekmore
of string as languages such as Visual Basic, Visual C++ and C# do in the GUI. -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf Of Sylvestre Ledru Sent: Sunday, April 25, 2010 8:46 AM To: us...@open-mpi.org Subject: [OMPI users] How to "

[OMPI users] How to "guess" the incoming data type ?

2010-04-25 Thread Sylvestre Ledru
Hello, I am currently extending an application with MPI capabilities. This high-level application allows users to use dynamic types. Therefor, on the slaves, I have no way to know what the master will send me. Therefor, in the slave side, I need to "guess" what I am receiving. For example, I