LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Brian Barrett (brbarret_at_[hidden])
Date: 2008-05-04 21:49:44


On May 4, 2008, at 1:34 AM, fuat sungur wrote:

> Hi friend, i am newbie of lam-mpi. And i am codding the game of life
> with parallelization by using lammpi api. However i have a problem.
> Each process has to run 10 iteration. And it sends top line or
> bottom line to upper or lower process with MPI_Send method.
> The below code does not work. The performMatris function works well,
> there is no problem. The problem is encountered on MPI_Recv method.
> If i put "//" head of MPI_Recv
> there would not be error. But if i run this code exactly, i will get
> this error:

Problems like you described are usually caused by improper buffer
utilization. Make sure that the buffers you are using (particularly
the one for MPI_Recv) are properly sized. You might want to use a
memory debugger, such as valgrind, to help pin down where memory is
being improperly used.

Brian

-- 
   Brian Barrett
   LAM/MPI Developer
   Make today a LAM/MPI day!