[Beowulf] MPI Persistent Comm Question

amjad ali amjad11 at gmail.com
Sat Jun 26 16:12:15 EDT 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

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.clustermonkey.net/pipermail/beowulf/attachments/20100626/bb033781/attachment-0001.html>
-------------- next part --------------
_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf


More information about the Beowulf mailing list