Hi All, I've converted ticket #283 into a proper proposal, please take a look and send any feedback. Absent from this proposal is any mention of Fortran types, since everything in the Fortran attributes interface must be an INTEGER (KIND=MPI_ADDRESS_KIND). Also note, as discussed in the last telecon, that this ticket is strictly a clarification. A search of the 2.2 document turns up on page 509, line 12: "... in Fortran, MPI_WIN_GET_ATTR(win, MPI_WIN_BASE, val, ag, ierror) will return in val the base address of the window, converted to an integer. In C, MPI_Win_get_attr(win, MPI_WIN_BASE, &p, & ag) will return in p a pointer to the window base, cast to (void *)." Cheers, ~Jim. On 12/9/11 6:06 PM, Torsten Hoefler wrote:
On Fri, Dec 09, 2011 at 05:57:00PM -0600, James Dinan wrote:
I've updated ticket #283 with a table of data types for MPI_Win_get/set_attr:
https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/283
It turns out that these are actually somewhat defined in the standard text (even for the new types), but it requires a careful/creative reading of the text. We could get away without this ticket, but I think that it's a a good clarification.
The Fortran types all have to be INTEGER (KIND=MPI_ADDRESS_KIND) because of the function definition for get/set_attr. The C types vary as shown in the table.
Please send any feedback. I'll put this into Latex for the next meeting. Great, thanks!
Can you please put this into a full proposal format ala. "insert the following text and table at page XXX line XXX". Turning this into a Latex table is trivial.
Thanks& Best, Torsten