Re: [mpich-discuss] MPI_Get on the same memory location
22 Aug
2014
22 Aug
'14
7:59 a.m.
On Aug 21, 2014, at 8:42 PM, Nick Radcliffe <[email protected]> wrote:
If buffers overlap, use memmov and not memcpy:
Good point, you would have to use memmov in general for overlapping source and target buffers. I was thinking of the special case where the source and target buffers are identical.
I don’t think so. It’s an incorrect program to get from a buffer to itself. MPICH is being helpful is catching this user error.
Do you know where in the standard this is specified? I'm having trouble finding it.
The parameter in PUT is a “const void *”. It’s read-only for MPI. — Pavan -- Pavan Balaji ✉️ http://www.mcs.anl.gov/~balaji
4352
Age (days ago)
4352
Last active (days ago)
0 comments
1 participants
participants (1)
-
Balaji, Pavan