[Beowulf] MPI Persistent Comm Question

amjad ali amjad11 at gmail.com
Sat Jun 26 13:12:15 PDT 2010


Hi all,

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.beowulf.org/pipermail/beowulf/attachments/20100626/bb033781/attachment.html>


More information about the Beowulf mailing list