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!
|