Hi,
A good thing you can do here is to try and debug it by running under a
memory checker. That may give you a better idea of what may be going
wrong.
Probably there might be something other than the code fragment you
submitted that causes the badness. You might want to check that out as
well.
Regards,
Nihar
On Wed, 31 Mar 2004 Llfrg_at_[hidden] wrote:
>I did
>
> if(!(request = (MPI_Request *)malloc((size-1)*sizeof(MPI_Request)))){
> printf("ERROR");
> exit(1);
> }
>
>And did not get any "ERROR" message. Also there is no reference to
>request after malloc and before the MPI_Isend call. I did printf the
>value of j just before MPI_Isend and it is really zero. The strange thing
>is when j is 1, 2, 3, ... MPI_Isend works. Also if I declare a vector
>request of a large enough size it works, but of course it would be much
>better if I could malloc the appropriate space.
>
>Thanks,
>Leonardo.
>_______________________________________________
>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
Powered by LAM/MPI...
---------------------------------------
Nihar Sanghvi
LAM/MPI Team
Graduate Student (Indiana University)
http://www.lam-mpi.org
--------------------------------------
|