[OMPI users] MPI with dynamic arrays

2011-08-10 Thread Sylvestre Ledru
Hello, I would like to know what could be the best way to send three variables with the following types: double * data; (which can be also int *, float * but that is a different issue) int row; // number of row int col; // number of cols On the nodes, I have no way to know a priori what is goin

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 k

Re: [OMPI users] open-mpi behaviour on Fedora, Ubuntu, Debian and CentOS

2010-04-26 Thread Sylvestre Ledru
Hello, Le lundi 26 avril 2010 à 14:33 +1200, Asad Ali a écrit : > Hi Jodi, > > > I once got different results when running on a 64-Bit platform > instead of > > a 32 bit platform - if i remember correctly, the reason was that on > the > > 32-bit platform 80bit extended precision floats were use

[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 a