Discussion:
Assertion failed in file ch3u_buffer.c at line 77: 0
(too old to reply)
Abraham Zamudio
2010-08-11 14:42:31 UTC
Permalink
I have a program that does a search in parallel, But The error is:

mpirun -np 3 ./arraySearch1
Assertion failed in file ch3u_buffer.c at line 77: 0
Assertion failed in file ch3u_buffer.c at line 77: 0
Assertion failed in file ch3u_buffer.c at line 77: 0
memcpy argument memory ranges overlap, dst_=0x7fffe5d2f11c
src_=0x7fffe5d2f11c len_=4

memcpy argument memory ranges overlap, dst_=0x7fffe78454ac
src_=0x7fffe78454ac len_=4

internal ABORT - process 1
internal ABORT - process 2
memcpy argument memory ranges overlap, dst_=0x7fff6561ab0c
src_=0x7fff6561ab0c len_=4

internal ABORT - process 0
rank 2 in job 8 quad4_39430 caused collective abort of all ranks
exit status of rank 2: killed by signal 9
rank 1 in job 8 quad4_39430 caused collective abort of all ranks
exit status of rank 1: killed by signal 9
Michael Hofmann
2010-08-13 15:12:11 UTC
Permalink
Post by Abraham Zamudio
mpirun -np 3 ./arraySearch1
Assertion failed in file ch3u_buffer.c at line 77: 0
Assertion failed in file ch3u_buffer.c at line 77: 0
Assertion failed in file ch3u_buffer.c at line 77: 0
memcpy argument memory ranges overlap, dst_=0x7fffe5d2f11c
^^^^^^^^^^^^^^^^^^^
Post by Abraham Zamudio
src_=0x7fffe5d2f11c len_=4
^^^^^^^^^^^^^^^^^^^

Your MPI tries to do a local memory copy (probably, during a
communication operation) and complains that the source and the target
overlap each other (the addresses are identical!).

Try to locate the communication operation that produces the error. It
seems to be an operation where all processes read _and_ write data (e.g.
MPI_Sendrecv, MPI_Allreduce, MPI_Allgather, MPI_Alltoall[v], ...).
Probably, there is something wrong with the send and receive buffers you
use.


Michael

Loading...