* Ahmad Faraj wrote on Sun, Aug 29, 2004 at 03:11:04PM CEST:
> Well, if mpi_allwait frees the resources and no need to call
> MPI_REQUEST_FREE, then why does lam (i have version 6.5.9) in alltoall
> implementation does that (take a look at the c2calltoall in alltoall.c):
>
> post all recvs
> post all sends
> startall
> waitall
> then free each request in a for loop using MPI_REQUEST_FREE
As I have no knowledge of LAM internals, I cannot answer this question.
> that is where i thought we are supposed to do that
Well, if you want to use MPI, it's generally best to stick to the
standards documents and not to some specific implementation. They
specify the behavior quite detailed and prevent you from implementation-
specific assumptions.
Regards,
Ralf
|