Re: [OMPI users] Best way to send on mpi c, architecture dependent data type

2019-03-15 Thread Sergio None
George, Yes, this is an option, create my own type library, but i need do a cover of MPI_Send, MPI_Receive, ... and other things . So was searching for an OpenMPI way, instead of doing it myself. I'll try the option that mention Gilles Gouaillardet: i will build OpenMPI 4.0.1 with --enable-het

Re: [OMPI users] Best way to send on mpi c, architecture dependent data type

2019-03-15 Thread Sergio None
Gilles, I'll keep it in mind, install 64bits ARM Rapsbian version next time I reinstall OS. But for now, I have too many things installed and configured. I'll try second option, I will build OpenMPI 4.0.1 with --enable-heterogeneous. Thank you very much for your help. Regards, Sergio. On 3/1

Re: [OMPI users] Best way to send on mpi c, architecture dependent data type

2019-03-15 Thread Sergio None
Jeff, Yes, i know that C99 have these fixed standard library. The point is that many common used function, rand for example, return non fixed types. And then you need doing castings, typically to more big types. It can be a bit annoying. That's why I was looking for an OpenMPI way to do this

[OMPI users] Best way to send on mpi c, architecture dependent data type

2019-03-13 Thread Sergio None
Hello. I'm using OpenMPI 3.1.3 on x64 CPU and two ARMv8( Raspberry pi 3). But i'm having some issues with data types that are architecture dependent, like 'long'. For example, if you send data in one process to other on this way: if (my_rank != 0) { long size; char* array_data; arra