Hello Brian,
Actually, I am not modifying the local communication buffer that contains
the data. I am modifying the the buffer that contains the indices of the
data buffer(source_disp and target_disp).
in MPICH2 this is not a problem. I am not sure about Open MPI.
Thanks,
Ziaul
On Wed, Jun 6,
Ziaul -
Your program is erroneous; you can not modify the local communication
buffer of an MPI_ACCUMULATE call until after the next synchronization call
(Section 11.3 of MPI 2.2). In your example, that would be after the
MPI_FENCE call following the call to MPI_ACCUMULATE.
Brian
On 6/6/12 9:44
Hello,
I am not sure, if my code is correct according to Open MPI(v1.6). the code
is given as follows, I am doing MPI one-sided communication inside a
function - data_transfer. this function is being called inside a fence
epoch. inside data_transfer, I am allocating memory for non-contiguous