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 jsquy...@cisco.com