ECP-copa/ExaMiniMD

MPI Issues

stanmoore1 opened this issue · 1 comments

I'm seeing some MPI issues. On Cray, I get an error unless I set MPICH_NO_BUFFER_ALIAS_CHECK=1

PMPI_Scan(695): MPI_Scan(sbuf=0x7fffffff3878, rbuf=0x7fffffff3878, count=1, MPI_INT, MPI_SUM, MPI_COMM_WORLD) failed
PMPI_Scan(672): Buffers must not be aliased. Consider using MPI_IN_PLACE or setting MPICH_NO_BUFFER_ALIAS_CHECK

On my Linux box with MPICH I get a similar error:

Fatal error in PMPI_Scan: Internal MPI error!, error stack:
PMPI_Scan(639)........: MPI_Scan(sbuf=0x7fffffffdaa0, rbuf=0x7fffffffdaa0, count=1, MPI_INT, MPI_SUM, MPI_COMM_WORLD) failed
MPIR_Scan_impl(506)...:
MPIR_Scan_generic(155):
MPIR_Localcopy(357)...: memcpy arguments alias each other, dst=0x7fffffffdaa0 src=0x7fffffffdaa0 len=4

Fixed in 52f017d. Closing #24.