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


On Tue, Nov 24, 2009 at 10:46 AM, Jeff Squyres <jsquyres@cisco.com> 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@cisco.com


_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users