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: Natarajan CS (csnataraj_at_[hidden])
Date: 2009-11-24 17:33:58


Thanks everyone for the reply and happy Turkey day!
Cheers!

On Tue, Nov 24, 2009 at 10:46 AM, Jeff Squyres <jsquyres_at_[hidden]> wrote:

> On Nov 23, 2009, at 4:49 PM, Natarajan CS wrote:
>
> Oh okay that explains the behaviour of MPI_SHORT, guess sizeof is going to
>> give me the same value no matter what MPI_Datatype I use? Thanks for the
>> quick response!
>>
>
> Correct. MPI_<datatype_name> is just a handle to an internal MPI data
> structure. Its size (as reported by sizeof()) is unrelated to the actual
> datatype size.
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>