[MPICH] Can I ask MPI to not copy the data to shared-mem ?
Darius Buntinas
buntinas at mcs.anl.gov
Mon Oct 8 13:14:22 CDT 2007
Well, you specify one buffer in the call to MPI_Send and another buffer
in MPI_Recv, so there would have to be at least one copy. You can't do
it without any copies (otherwise, how would the data get from the send
buffer to the receive buffer?).
MPICH2 does support communication over shared memory (as opposed to over
a network) which improves performance for intranode communication.
Configure with --with-device=ch3:ssm or --with-device=ch3:nemesis.
Darius
On 10/08/2007 12:22 PM, chong tan wrote:
> If I the pointer passed to MPI_Send and MPI_Recieve are already shared
> memory, and need not be copied at all ?
>
> If so, How ?
>
> thanks
> tan
>
>
> ------------------------------------------------------------------------
> Be a better Heartthrob. Get better relationship answers
> <http://us.rd.yahoo.com/evt=48255/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545433>from
> someone who knows.
> Yahoo! Answers - Check it out.
More information about the mpich-discuss
mailing list