Hi George,
I know MPI_Get_elements_x (). But Page 483 claims:
These functions modify the opaque part of status so that a call to
MPI_GET_ELEMENTS or MPI_GET_ELEMENTS_X will return count. MPI_GET_COUNT
will return a compatible value.
This will not work for large MPI_Count values provided by MPI_SET_ELEMENTS_X
(i.e. MPI_UNDEFINED is returned by MPI_Get_count() in significant use of MPI_SET_ELEMENT_X).
And Page 114 says that function MPI_Get_count has a different behavior than
MPI_GET_ELEMENTS/MPI_GET_ELEMENTS_X. Thus, MPI_GET_COUNT is not obsolete
and application has to develop a separate version of MPI_Get_count_x() if MPI_SET_ELEMENT_X
might be used in the application or a library.
Hubert
From: mpi-comments-bounces@lists.mpi-forum.org [mpi-comments-bounces@lists.mpi-forum.org] on behalf of George Bosilca [bosilca@eecs.utk.edu]
Sent: Friday, August 31, 2012 2:26 PM
To: Comments on the MPI Standard
Subject: Re: [Mpi-comments] MPI_Get_count_x
MPI_Get_elements_x, chap Datatypes page 114 (current make cleandoc).
george.
Click
here to report this email as spam.