Hi all,

I observed MPI_ISEND & IRECV  performing little better than persistenent
communication; although I was hoping/desiring the opposite case??

What is the be the best way of using MPI persistent communication in an
iterative/repetative kind of code about calling MPI_Free(); Should we call
MPI_Free() in every iteration or
only once when all the iterations/repetitions are performed?
Means which one is the best out of following two:

(1)
Call this subroutines 1000 times
=============================
             call MPI_RECV_Init()
             call MPI_Send_Init()
             call MPI_Startall()
             call MPI_Free()
=============================

(2)
Call this subroutines 1000 times
===========================
             call MPI_RECV_Init()
             call MPI_Send_Init()
             call MPI_Startall()
==========================
            call MPI_Free()  --------- call it only once at the end.


Thanks in advance.
best regards
AA

Reply via email to