Re: Annoying type_size problem
John M May (johnmay@coral.llnl.gov)
Thu, 19 Dec 1996 09:37:13 -0800 (PST)
> MPI_Type_size is consistent with other functions which use int for the size
> of buffers (e.g. MPI_Pack_size, MPI_Buffer_attach, and even (I would argue),
> the count argument in MPI_Send/Recv.
>
> MPI_Type_extent is consistent with MPI_Type_struct in that it uses Aints
> for specifying displacements. This is basically undesirable, but appears to
> be neccessary because of the possibility of absolute addresses.
Sorry I missed the section in MPI 1.2 that covers this issue. But
now that I see there is a justification for the difference between
MPI_Type_size and MPI_Type_extent, I wonder if the MPI-IO versions
(MPI_File_get_type_size, MPI_File_get_type_extent) shouldn't be
made consistent with this.
John