Hi,

In http://www.mpich.org/static/docs/v3.1/www3/MPI_Win_attach.html,  for MPI
3,  The API MPI_Win_attach is supported :





int MPI_Win_attach(MPI_Win win, void *base, MPI_Aint size)



It allows multiple (but non-overlapping) memory regions to be attached to
the same window, after the window is created. Therefore, I should be able
to have multiple such “attach” calls for the same window, with different
“base” address to be specified in each attach call.

If that is the case, when I issue the MPI_Get, how can I specify which
“base address” on the window is what I need to fetch the data?  As MPI_get
has the window handle to be one of the input parameters, but not“base
address”.  The base address should be resolved by the target process from
the registered window handle.

So my question is: how can  MPI_Get  handle the situation where multiple
memory regions are attached to the same window?

Thank you!


-- 
Lokah samasta sukhinobhavanthu

Thanks,
Madhurima

Reply via email to