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

2019-03-13 Thread Jeff Hammond
C99 fixed-width integer types are your friend. https://www.mpi-forum.org/docs/mpi-2.2/mpi22-report/node44.htm Jeff On Wed, Mar 13, 2019 at 3:12 PM Sergio None wrote: > 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

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

2019-03-13 Thread Gilles Gouaillardet
Sergio, I think your best option here is to install an aarch64 (read 64bits ARM) distro on your raspberry pi 3. /* FWIW, the default raspberry distro is 32bits so it can run on all raspberry pi models */ If you cannot/do not wish to go that way, make sure Open MPI is built with --enable-

[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