[mpich-discuss] error :Assertion failed in file ch3u_buffer.c at line 77: 0 memcpy argument memory ranges overlap

Dave Goodell goodell at mcs.anl.gov
Wed Jun 27 10:45:46 CDT 2012


[please keep mpich-discuss@ CCed]

Please update to mpich2-1.4.1p1 or later and retry.  Chasing down bugs in old versions is usually a big waste of time for everybody.

As for the distinct buffers, just don't try to send and receive from the same buffer at the same time, it simply doesn't make sense (the receive can corrupt the send data).

-Dave

On Jun 27, 2012, at 9:40 AM MDT, loc duong ding wrote:

> Dear Dave,
> 
> I am using version mpich2-1.3.1 and compiled with gcc 4.1. 
> I installed this version quite long time ago. I can not remember I used the option you mentioned or not. Could you give more detail instructions how to use distinct buffer? 
> 
> I will try to compile the newest one with your recommendation. 
> 
> Thank you for your instructions. 
> 
> Best wishes, 
> -----------------------------------------------
> Loc Duong Dinh
> Ms-Ph.D Student
> Sungkyunkwan Advanced Institute of Nanotechnology,
> Sungkyunkwan University,
> Suwon, 440-746, Korea 
> Email: mambom1902 at yahoo.com, ddloc at skku.edu
> From: Dave Goodell <goodell at mcs.anl.gov>
> To: loc duong ding <mambom1902 at yahoo.com>; mpich-discuss at mcs.anl.gov 
> Sent: Wednesday, June 27, 2012 8:18 AM
> Subject: Re: [mpich-discuss] error :Assertion failed in file ch3u_buffer.c at line 77: 0 memcpy argument memory ranges overlap
> 
> What version of MPICH2 are you using?
> 
> Are you configuring with "--with-device=ch3:nemesis:mx"?
> 
> It looks like you are doing a send/recv to/from the same process with the same buffer. It's OK to send/recv to/from the same process, but you must use distinct buffers.
> 
> -Dave
> 
> On Jun 27, 2012, at 5:49 AM MDT, loc duong ding wrote:
> 
> > Dear MPICH2 developers,
> > 
> > I have the problem when using MPICH2. I tried compile with OPENMX code and it is fine in compiling. However, there is a problem when I run the package using mpich2: 
> > 
> > Assertion failed in file ch3u_buffer.c at line 77: 0
> > memcpy argument memory ranges overlap
> >  
> > I try to search the problem from internet but I can not find the solution for this. 
> > 
> > Could you give some instructions to solve this problem?
> > 
> > Thank you for all your help. 
> > 
> > With best wishes, 
> > -----------------------------------------------
> > Loc Duong Dinh
> > Ms-Ph.D Student
> > Sungkyunkwan Advanced Institute of Nanotechnology,
> > Sungkyunkwan University,
> > Suwon, 440-746, Korea 
> > Email: mambom1902 at yahoo.com, ddloc at skku.edu
> > _______________________________________________
> > mpich-discuss mailing list    mpich-discuss at mcs.anl.gov
> > To manage subscription options or unsubscribe:
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> 
> 



More information about the mpich-discuss mailing list