[mvapich-discuss] Error in MPI_Scatter: 'Buffers must not be aliased'

Panda, Dhabaleswar panda at cse.ohio-state.edu
Sat Jun 21 16:28:33 EDT 2014


Hi Mehmet,

Thanks for your report. We are taking a look at it. Do you see the issue with the
latest mvapich2 2.0 GA version?

Thanks,

DK
________________________________
From: mvapich-discuss-bounces at cse.ohio-state.edu on behalf of Mehmet [mbelgin at gmail.com]
Sent: Saturday, June 21, 2014 3:56 PM
To: mvapich-discuss at cse.ohio-state.edu
Subject: [mvapich-discuss] Error in MPI_Scatter: 'Buffers must not be aliased'

Hi everyone,

When I try MPI_Scatter on receive/send buffers that are part of the same array (different locations in the array; not in-place), I get:

[cli_0]: aborting job:
Fatal error in PMPI_Scatter:
Invalid buffer pointer, error stack:
PMPI_Scatter(839): MPI_Scatter(sbuf=0x65cad0, scount=8, MPI_INTEGER, rbuf=0x65cad0, rcount=8, MPI_INTEGER, root=0, MPI_COMM_WORLD) failed
PMPI_Scatter(757): Buffers must not be aliased

This is with intel 14.0.2 and mvapich2 2.0rc1.

Is this a bug, or a deliberate crash to prevent race conditions? I am attaching a toy code that demonstrates the problem. The very same code runs with no errors/warnings using openMPI 1.5.4.

Any thoughts?




PS: I first sent this question using an email that's not subscribed to this list. If it gets approved, you will see a duplicate. Sorry :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4994 bytes
Desc: not available
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20140621/f4e03cf0/attachment.bin>


More information about the mvapich-discuss mailing list