Re: [Mpi3-rma] Ticket for WG discussion
A little clearer: The value returned is the address, relative to MPI_BOTTOM, resulting from the sum of base and disp. ~Jim. On 3/14/13 9:42 AM, Jim Dinan wrote:
Hi Hubert,
My apologies, the ticket is light on details. The proposed function is:
MPI_Aint MPI_Aint_index(MPI_Aint base, MPI_Aint disp);
This function interprets the base argument as an address relative to MPI_BOTTOM and the disp argument as a signed integer displacement. The value returned is the sum of these two values.
~Jim.
On 3/13/13 7:12 AM, Hubert Ritzdorf wrote:
Hi Jim,
Sorry, I have some problems with the interpretation of function MPI_Aint_index().
(*) What does MPI_Aint_index() return ? A target displacement which can be used in RMA functions such as MPI Put/Get or does it return an address such as MPI_Get_address () ?
(*) What is argument "base" ? An address returned by MPI_Get_address() of any address or a window base returned by MPI_Win_get_attr(win, MPI_WIN_BASE, &base, &flag) ? May "base" (as MPI_Aint) be transferred from a different process ?
Hubert ________________________________________ From: [email protected] [[email protected]] on behalf of Jim Dinan [[email protected]] Sent: Tuesday, March 12, 2013 9:08 PM To: [email protected] Subject: Re: [Mpi3-rma] Ticket for WG discussion
Hubert,
We have added a solution #3 to the ticket based on discussion in the working group today. That's our current proposal. Could you take a look and see if that will be Fortran compatible?
Thanks, ~Jim.
On 3/12/13 2:28 PM, Hubert Ritzdorf wrote:
Hi,
concerning Ticket 349. (*) In Fortran, the displacement for dynamic windows may be signed since MPI_BOTTOM of Fortran is not (void *) NULL.. (*) Fortran doesn't have unsigned integers, thus you cannot use a Fortran version of MPI_Disp for arithmetics (such as disp++). (*) MPI Displacements in general may be signed. They might be relative to any address.
Therefore, I can't see that the Proposed Solution 2 solves the problem.
Hubert
________________________________________ From: [email protected] [[email protected]] on behalf of Jim Dinan [[email protected]] Sent: Tuesday, March 12, 2013 5:12 PM To: MPI 3.0 Remote Memory Access working group Subject: [Mpi3-rma] Ticket for WG discussion
Hi All,
I would like to propose the following two tickets for discussion in today's WG meeting:
https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/349 https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/344
#349 is a bugfix that definitely needs to be addressed. #344 is an "elegance of the interface" ticket where I would like to poll the WG to determine the level of support and determine if this should be pursued.
I unfortunately need to duck out at 4pm today, so if possible, I propose that we discuss these at the beginning of the meeting.
Thanks! ~Jim. _______________________________________________ mpi3-rma mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-rma
Click https://www.mailcontrol.com/sr/kHf7UuVmhqHGX2PQPOmvUu5zZAYN1MosNz2OH0bOQrlt5... to report this email as spam.
_______________________________________________ mpi3-rma mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-rma
_______________________________________________ mpi3-rma mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-rma
_______________________________________________ mpi3-rma mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-rma
_______________________________________________ mpi3-rma mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi3-rma
participants (1)
-
Jim Dinan