Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Q regarding MPI_SHORT and MPI_Isend
From: Edmund Sumbar (esumbar_at_[hidden])
Date: 2009-11-23 15:33:33

On Mon, 23 Nov 2009, Natarajan CS wrote:

> 1) When I use MPI_SHORT instead of short to count the number of data transferred I get an array that is half the size. (ie MPI_Isend(&data2[0][0][0], (int) (sizeof(data2)/sizeof(MPI_SHORT)), MPI_SHORT, rank, 123,
> cartcomm,&request[rank-1]);

MPI_SHORT and the other data types are actually macros that resolve to
MPI_Datatype which is a pointer to a struct.


Edmund Sumbar
AICT Research Support Group